From: H Hartley Sweeten Date: Tue, 6 May 2014 19:26:04 +0000 (-0700) Subject: staging: comedi: amplc_pci224: use comedi_fc helpers to validate timer args X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~477 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af50b31b21126daea60e63a42ed241b807fb8c99;p=pandora-kernel.git 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed