commit | 005ce48e86f610b1a41e3ed527e42b0788e0639c | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Tue Nov 13 13:43:27 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Nov 13 15:12:49 2012 -0800 |
tree | ccb1d299ae69166d4a8fb9eec0b62eb098cdfa14 | |
parent | 321ab8a09fc08aac07286707071bdbd614d37bfc [diff] |
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>