From: H Hartley Sweeten Date: Tue, 11 Sep 2012 01:54:42 +0000 (-0700) Subject: staging: comedi: adl_pci9111: cleanup pci9111_ai_munge() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~391 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af031edf3f377b946c1d2b0d163fcf32b1041434;p=pandora-kernel.git staging: comedi: adl_pci9111: cleanup pci9111_ai_munge() The shift, maxdata, and invert values, used to handle the 12-/16-bit analog input differences, can be calculated based on the subdevice maxdata value. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed