linux/drivers/staging/comedi
simran singhal cb52fce160 staging: comedi: amplc_pci224: Convert macro GAT_CONFIG to static inline function
Convert macro GAT_CONFIG to static inline function as static inline
functions are preferred over macros. This change is possible since the
arguments at all call sites have the same type.

The uses were updated with Coccinelle:

@r1@
expression dev,reg,chan,src;
@@
-GAT_CONFIG(chan, src)
+pci224_gat_config(chan, src)

Also, the comment describing the macro has been removed.

Signed-off-by: simran singhal <singhalsimran0@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-14 06:27:31 +08:00
..
drivers staging: comedi: amplc_pci224: Convert macro GAT_CONFIG to static inline function 2017-03-14 06:27:31 +08:00
kcomedilib
comedi_buf.c
comedi_compat32.c
comedi_compat32.h
comedi_fops.c Staging: comedi: comedi_fops: Change comedi_num_legacy_minors type 2017-03-09 14:08:58 +01:00
comedi_internal.h
comedi_pci.c
comedi_pci.h
comedi_pcmcia.c
comedi_pcmcia.h
comedi_usb.c
comedi_usb.h
comedi.h
comedidev.h
comedilib.h
drivers.c
Kconfig staging: comedi: allow it to be built-in 2017-03-09 14:08:58 +01:00
Makefile
proc.c
range.c
TODO