]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: adq12b: remove 's->len_chanlist' init for analog inputs
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 28 May 2014 23:34:52 +0000 (16:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jun 2014 21:34:44 +0000 (14:34 -0700)
commit6cca77b66c79b3f99e326b4c7489a1d2f75d0873
treedbb894e821b22979822ec22b5c3a1d6bc27f931f
parent1c6ea12ac3bf666566afeed44d739c87966a16cf
staging: comedi: adq12b: remove 's->len_chanlist' init for analog inputs

This driver does not support async commands so the len_chanlist init is
unnecessary. Remove it and allow the core to default the value to '1'.

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/adq12b.c