diff options
| author | Michal Wajdeczko <michal.wajdeczko@intel.com> | 2017-09-14 18:08:02 +0300 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2017-09-15 14:25:58 +0300 |
| commit | c95469324518f3ab216d7e3a820b5f0609569681 (patch) | |
| tree | da1c79e33378df4e6383be6534d05e5b68d66121 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 17533bf95719466c524e07a5880d47a8d7aaa0cd (diff) | |
| download | linux-c95469324518f3ab216d7e3a820b5f0609569681.tar.xz | |
drm/i915: Introduce custom variant of module_param_named macro
As we now use same name for public module param and its local
representation we can simplify param definition macro.
Changes done with Coccinelle:
@@
declarer name module_param_named;
declarer name module_param_named_unsafe;
declarer name i915_param_named;
declarer name i915_param_named_unsafe;
identifier n;
@@
(
-module_param_named(n, i915.n,
+i915_module_param_named(n,
...);
|
-module_param_named_unsafe(n, i915.n,
+i915_module_param_named_unsafe(n,
...);
)
Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170914150805.28376-3-michal.wajdeczko@intel.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
