diff options
author | Krzysztof Kozlowski <[email protected]> | 2024-09-09 15:51:27 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-09-10 12:44:17 +0100 |
commit | 7dd36b3287182bc889953f7741bdcef037109210 (patch) | |
tree | 9250037a8ab3b91e4b4562916d223e9d9cf37a71 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | e9c7ff34c26d009c2f7c3d51236ed5a808dbc0d7 (diff) |
regulator: hi6421v530: Use container_of and constify static data
Switch from rdev_get_drvdata() to container_of(), so the static
'struct hi6421v530_regulator_info' holding 'struct regulator_desc' can
be made const for code safety.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions