From: H Hartley Sweeten Date: Wed, 12 Jun 2013 23:05:42 +0000 (-0700) Subject: staging: comedi: addi_apci_3xxx: absorb apci3xxx_di_insn_bits() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~155 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae57b69639bcbd653821f7a4a14b87f6fa6743c0;p=pandora-kernel.git staging: comedi: addi_apci_3xxx: absorb apci3xxx_di_insn_bits() All the boards supported by this driver that have digital inputs use the same 'di_bits' callback in the boardinfo. Absorb the function from hwdrv_apci3xxx.c directly into the driver. Remove the 'di_bits' callback from the boardinfo and use the function directly to set the subdevice (*insn_bits). None of the boards supported by this driver have a 'di_config', 'di_read', or 'io_write' callback. Remove the unnecessary setting of the subdevice callbacks. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed