From: H Hartley Sweeten Date: Wed, 23 Jan 2013 19:42:39 +0000 (-0700) Subject: staging: comedi: addi_apci_3501: only allocate needed subdevices X-Git-Tag: v3.9-rc1~127^2~293 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=694dcf501c35b6afcbc90ae3b4f3fea0b59f9888;p=pandora-kernel.git staging: comedi: addi_apci_3501: only allocate needed subdevices The addi-data "common" code always allocated 7 subdevices. This driver only uses 5. 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