From: H Hartley Sweeten Date: Fri, 18 Jan 2013 17:46:17 +0000 (-0700) Subject: staging: comedi: addi_apci_16xx: only allocate needed subdevices X-Git-Tag: v3.9-rc1~127^2~378 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6e7714cc261ef478f95449a32565d41378c9a87;p=pandora-kernel.git staging: comedi: addi_apci_16xx: only allocate needed subdevices The addi-data "common" code always allocated 7 subdevices. This driver only uses 1. 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