From af50b31b21126daea60e63a42ed241b807fb8c99 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Tue, 6 May 2014 12:26:04 -0700 Subject: [PATCH] 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-format-patch failed