]> rtime.felk.cvut.cz Git - linux-imx.git/commit
staging: comedi: addi_apci_3xxx: remove 'i_AiChannelList' from the boardinfo
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 12 Jun 2013 23:18:31 +0000 (16:18 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jun 2013 21:33:54 +0000 (14:33 -0700)
commit79518d9f9c2025449e66a9f00f18d6962f859627
treec661de5102a553ac8921b33ed890333556f1bac4
parent283ce669268da5a51eaf62efe92d5dd4625817a2
staging: comedi: addi_apci_3xxx: remove 'i_AiChannelList' from the boardinfo

The analog input s->len_chanlist for the boards supported by this driver
should always be the number of channels (s->n_chan). Use that instead
and remove the 'i_AiChannelList' from the boardinfo.

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