From: H Hartley Sweeten Date: Tue, 14 Oct 2014 17:44:27 +0000 (-0700) Subject: staging: comedi: addi_apci_1500: remove unnecessary subdevice initialization X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~851 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35ce3c3cc1b8b1fc108abd5f482326213fb68c0b;p=pandora-kernel.git staging: comedi: addi_apci_1500: remove unnecessary subdevice initialization The subdevices that don't initialize any of the callbacks don't really exist. Remove the unnecessary initialzation and just set the type to COMEDI_SUBD_UNUSED. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed