staging: comedi: adv_pci1710: use cfc_check_trigger_src
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 11 Sep 2012 22:09:06 +0000 (15:09 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Sep 2012 16:29:22 +0000 (09:29 -0700)
commit8531fce9450bcb7bc0947d818c05644339b88a48
treef36822d3e0d124eb66349b6e1322023440c48860
parent60a63228c80dd01694a7961d349350d87bed82d9
staging: comedi: adv_pci1710: use cfc_check_trigger_src

Use the helper function cfc_check_trigger_src for the "step 1"
tests of pci171x_ai_cmdtest().

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/adv_pci1710.c