commit | 0c33bdd01abf1d6722792b2022b974116151a572 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Thu Nov 29 18:18:03 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Nov 29 18:05:30 2012 -0800 |
tree | 270548118b09f3f78bf5fe27d216789e2c3b6355 | |
parent | 490555966e77f7e3e8ccbe70629a149451b56a3c [diff] |
staging: comedi: addi_apci_2032: only allocate needed subdevices The addi-data "common" code always allocated 7 subdevices. This driver only requires 2. 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>