]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/staging/comedi/drivers/addi_apci_1516.c
staging: comedi: addi_apci_1516: only allocate needed subdevices
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 13 Nov 2012 20:43:27 +0000 (13:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2012 23:12:49 +0000 (15:12 -0800)
commit005ce48e86f610b1a41e3ed527e42b0788e0639c
treeccb1d299ae69166d4a8fb9eec0b62eb098cdfa14
parent321ab8a09fc08aac07286707071bdbd614d37bfc
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 <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi_apci_1516.c