diff options
author | Rikard Falkeborn <[email protected]> | 2021-01-09 01:17:48 +0100 |
---|---|---|
committer | Enric Balletbo i Serra <[email protected]> | 2021-01-20 16:19:17 +0100 |
commit | d7c1fef7fdc769ee45771059da823c8840590472 (patch) | |
tree | 22fff0c6cedddd14d8f3cef44868902193e51bbf /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 852405d8efcbca0e02f14592fb1d1dcd0d3fb508 (diff) |
platform/chrome: Constify static attribute_group structs
The only usage of these is to print their name in a dev_err-message, and
to pass their address to sysfs_create_group() and sysfs_remove_group(),
both which takes pointers to const. Make them const to allow the compiler
to put them in read-only memory.
Signed-off-by: Rikard Falkeborn <[email protected]>
Signed-off-by: Enric Balletbo i Serra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions