From: H Hartley Sweeten Date: Mon, 21 Jan 2013 22:19:32 +0000 (-0700) Subject: staging: comedi: addi_apci_2200: only allocate needed subdevices X-Git-Tag: v3.9-rc1~127^2~338 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20f2e2e1ceee6575794e9957912399d7ead8458f;p=pandora-kernel.git staging: comedi: addi_apci_2200: 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. Update the comments for the initialization of each subdevice. Also, update the subdevice that is passed to addi_watchdog_cleanup() to match the new subdevice number. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed