diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-05-27 10:12:46 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-28 14:25:56 -0700 |
commit | e9ace43cbff7894f63a4f5a9d8c0f7d20545add4 (patch) | |
tree | 5c1ad045ea120cb61f7491ee38f299883393754a /Documentation/serial | |
parent | 0e21721125e6fe9677ed9c2eb07057ae6e466fcf (diff) | |
download | linux-e9ace43cbff7894f63a4f5a9d8c0f7d20545add4.tar.bz2 |
staging: comedi: das16m1: use comedi_fc helpers to validate timer args
Use the comedi_fc helper cfc_check_trigger_arg_is() to validate the
trigger arguments when the source is TRIG_TIMER.
For aesthetics, rename the local variable 'tmp' to 'arg'.
Also, change the 'err' variable to the correct type.
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>
Diffstat (limited to 'Documentation/serial')
0 files changed, 0 insertions, 0 deletions