summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2014-05-27 10:12:46 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-28 14:25:56 -0700
commite9ace43cbff7894f63a4f5a9d8c0f7d20545add4 (patch)
tree5c1ad045ea120cb61f7491ee38f299883393754a /crypto
parent0e21721125e6fe9677ed9c2eb07057ae6e466fcf (diff)
downloadlinux-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 'crypto')
0 files changed, 0 insertions, 0 deletions