From: H Hartley Sweeten Date: Wed, 26 Sep 2012 21:11:10 +0000 (-0700) Subject: staging: comedi: drivers: use comedi_fc.h cmdtest helpers X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27020ffed9166d65ce1e5b523051d13bfa2329b0;p=pandora-kernel.git staging: comedi: drivers: use comedi_fc.h cmdtest helpers Use the cfc_check_trigger_src() helper for Step 1 in all the driver cmdtest functions. Use the cfc_check_trigger_is_unique() helper for Step 2 in all the driver cmdtest functions. Note that single source triggers do not need to be checked, they are already unique if they pass Step 1. For aesthetic reasons, change the comments in the cmdtest functions for steps 1 and 2 so that they are all the same. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed