staging: comedi: ni_tiocmd: use cfc_check_trigger_arg_*() helpers
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 14 Nov 2012 00:57:27 +0000 (17:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Nov 2012 00:23:18 +0000 (16:23 -0800)
commitaadd0132c5ac794415690b5ef95fd4da986fec78
tree5d4ab37b102c88d53e69529976ea4efbf4c711a1
parent616a14d7adfb2ee9bec6209500be6399771a2816
staging: comedi: ni_tiocmd: use cfc_check_trigger_arg_*() helpers

Use the new helpers in the step 3 tests of ni_tio_cmdtest().

Note that cmd->stop_src only has one trigger source so the extra
test is not required.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_tiocmd.c