]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit20ea5c3506abfe46c98dfa47d1bf933e2efa15c9
tree5bbf337cc335e5bd6e57487aade42f7cbc3c34ca
parent581867bd9151ee77fad4b0fe47af96d923ac9ec2
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