From: H Hartley Sweeten Date: Tue, 14 Oct 2014 17:44:19 +0000 (-0700) Subject: staging: comedi: addi_common.c: remove addi_auto_attach() X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~859 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c3dcdd7eb6c4353620392c27965cf14a4231c62;p=pandora-kernel.git staging: comedi: addi_common.c: remove addi_auto_attach() The addi_apci_035 and addi_apci_1500 are the only drivers left that use this function in addi_common.c. The addi_common code adds a lot of bloat to the drivers. Copy the addi_auto_attach() code to the (*auto_attach) functions of the drivers and remove the function. This will help with removing the bloat. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed