diff options
| author | Michal Wajdeczko <[email protected]> | 2017-09-14 15:08:03 +0000 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2017-09-15 14:27:01 +0300 |
| commit | 3dcf4f207e8e0703cc00d5384e46ed6eb6902613 (patch) | |
| tree | 30be37b30c1320ca03fe69d19ec36baffafb76a4 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | c95469324518f3ab216d7e3a820b5f0609569681 (diff) | |
drm/i915: Extend private i915_param_named macro with description
We're always specifying description of each module param in
separate macro. Let's combine description into our main macro.
Started with Coccinelle, followed by minor cleanup.
@match1@
declarer name MODULE_PARM_DESC;
identifier n;
constant c;
@@
(
- MODULE_PARM_DESC(n, c);
)
@fix1 depends on match1@
declarer name i915_param_named;
declarer name i915_param_named_unsafe;
identifier match1.n;
constant match1.c;
@@
(
i915_param_named(n, ...
+ , c
);
|
i915_param_named_unsafe(n, ...
+ , c
);
)
Suggested-by: Jani Nikula <[email protected]>
Signed-off-by: Michal Wajdeczko <[email protected]>
Cc: Jani Nikula <[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