From: H Hartley Sweeten Date: Fri, 30 Nov 2012 01:18:03 +0000 (-0700) Subject: staging: comedi: addi_apci_2032: only allocate needed subdevices X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c33bdd01abf1d6722792b2022b974116151a572;p=pandora-kernel.git staging: comedi: addi_apci_2032: only allocate needed subdevices The addi-data "common" code always allocated 7 subdevices. This driver only requires 2. Change the allocation and remove the unused subdevices. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed