diff options
| author | Michal Wajdeczko <[email protected]> | 2017-09-14 15:08:02 +0000 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2017-09-15 14:25:58 +0300 |
| commit | c95469324518f3ab216d7e3a820b5f0609569681 (patch) | |
| tree | da1c79e33378df4e6383be6534d05e5b68d66121 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 17533bf95719466c524e07a5880d47a8d7aaa0cd (diff) | |
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 <[email protected]>
Signed-off-by: Michal Wajdeczko <[email protected]>
Cc: Chris Wilson <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions