From: H Hartley Sweeten Date: Tue, 13 Nov 2012 20:43:27 +0000 (-0700) Subject: staging: comedi: addi_apci_1516: only allocate needed subdevices X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~410 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=005ce48e86f610b1a41e3ed527e42b0788e0639c;p=pandora-kernel.git staging: comedi: addi_apci_1516: only allocate needed subdevices The addi-data "common" code always allocated 7 subdevices. This driver only requires 3. 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