aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2024-10-05 12:06:17 +0200
committerSebastian Reichel <[email protected]>2024-10-16 23:13:38 +0200
commit3120b5f218ca8e2b375d496e2ff3f4f861fbc013 (patch)
tree6880dae00bd4614bdb9932ddac46ca86696de351 /tools/perf/scripts/python/gecko.py
parentcf70da29c4993bf23df68b67a82dfa3da8234e75 (diff)
power: supply: core: mark attribute arrays as ro_after_init
The attribute arrays are only modified during the __init phase. To protect them against intentional or accidental modification, mark them as __ro_after_init. To make sure no modifications are introduced, also mark the return values of the accessors as const. Signed-off-by: Thomas Weißschuh <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions