commit | af50b31b21126daea60e63a42ed241b807fb8c99 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue May 06 12:26:04 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri May 23 21:22:23 2014 +0900 |
tree | 9eb797748ff24881ff3f9cb5f391d0ecfb0a025f | |
parent | 22a270483da663b5c603e21a1e26742420fdf798 [diff] |
staging: comedi: amplc_pci224: use comedi_fc helpers to validate timer args Use the comedi_fc helper cfc_check_trigger_arg_is() to validate the scan_begin_arg when the scan_begin_src is TRIG_TIMER. For aesthetics reasons, rename the local variable 'tmp' to 'arg'. 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>