From: H Hartley Sweeten Date: Tue, 11 Sep 2012 01:53:49 +0000 (-0700) Subject: staging: comedi: adl_pci9111: cleanup ao resolution X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~394 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b7044dcfc1c1df1b8858ead6456158f0d925725;p=pandora-kernel.git staging: comedi: adl_pci9111: cleanup ao resolution The 'ao_resolution' in the boardinfo is not used. Remove it. Rename the 'ao_resolution_mask' to 'ao_maxdata', this information is copied to the ao subdevice 'maxdata'. Remove the PCI9111_AO_RESOLUTION* defines and just open-code the maxdata in the boardinfo. Remove the mask of the output data in pci9111_ao_insn_write(), the comedi core insures that the data is valid. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed