]> Pileus Git - ~andy/linux/commit
staging: comedi: addi_apci_1032: only allocate one subdevice
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 5 Nov 2012 21:40:18 +0000 (14:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Nov 2012 08:30:57 +0000 (09:30 +0100)
commitb37f84d56af3efcadd3fc01630f029382707e312
treec5e714ba8843c53afffd468bfcce1d3b1931556b
parenta3de4cd33c63c256b2521e61e487ae99cf313d94
staging: comedi: addi_apci_1032: only allocate one subdevice

There is only one subdevice used in the driver. Remove the unused
subdevice init and only allcoate space for the one used.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi_apci_1032.c