]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: dt282x: remove redundant comedi_check_trigger_arg_min()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 23 Mar 2016 19:24:30 +0000 (12:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
commitab7cd57615bb353493899ac12077f6d38defda43
tree5bbf337cc335e5bd6e57487aade42f7cbc3c34ca
parent6efc77d8293c769c3e174e954defb79053a091fa
staging: comedi: dt282x: remove redundant comedi_check_trigger_arg_min()

The 'convert_arg' sets the acquisition timing of the analog input command.
The maximum speed (the minimum timing) depends on the board 'ai_speed' which
if always >= 4000. Remove the redundant 'min' check,

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