staging: comedi: comedi_fc.h: begin migration to comedidev.h
authorIan Abbott <abbotti@mev.co.uk>
Fri, 27 Mar 2015 19:13:41 +0000 (19:13 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 11:13:59 +0000 (13:13 +0200)
commit5e1a61928eb9622d2bc8eec2a354616281c0e475
tree40c0576adbe895d2039c6fffc7e18463e8ae93a7
parent78cff59e88eb0f3ae81f50741a8ce2e38f890139
staging: comedi: comedi_fc.h: begin migration to comedidev.h

"comedi_fc.h" contains a few inline functions used by the `do_cmdtest`
handler functions for comedi subdevices in several low-level comedi
drivers for checking asynchronous command trigger sources and arguments.
They all use the prefix `cfc_check_trigger_arg`.  Copy them over to
"../comedidev.h", but change the `cfc_` prefix to `comedi_`.  Change the
original functions in "comedi_fc.h" into simple wrappers for their
replacements.

Once the drivers have been changed to call the replacement functions,
"comedi_fc.h" can be removed.

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