From: H Hartley Sweeten Date: Wed, 24 Jul 2013 19:13:51 +0000 (-0700) Subject: staging: comedi: ii_pci20kc: cleanup the ai subdevice X-Git-Tag: v3.12-rc1~183^2~549 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3aa5e81177bd8bf235d2b506659a3ecd05d67634;p=pandora-kernel.git staging: comedi: ii_pci20kc: cleanup the ai subdevice The PCI-200341M-1 module can both provide an analog input subdevice in this driver. The module provides four differential input channels with four programmable gains. Currently the gain is configured as an option passed when the board is attached. Rewrite the ai subdevice support functions to properly handle the programmable gain. For aesthetics, redefine the memory map for the module. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed