diff options
| author | simran singhal <[email protected]> | 2017-03-12 22:25:42 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-03-14 06:27:31 +0800 |
| commit | cb52fce16027d79a97d0870a1110d4a4493fa0a8 (patch) | |
| tree | f578a27b2052e8309f8cc032eec27f68cc8eaf90 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 06cb6b5434937180251d0ddb3d9a4cb2af6015da (diff) | |
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions