diff options
author | 2024-09-09 15:51:27 +0200 | |
---|---|---|
committer | 2024-09-10 12:44:17 +0100 | |
commit | 7dd36b3287182bc889953f7741bdcef037109210 (patch) | |
tree | 9250037a8ab3b91e4b4562916d223e9d9cf37a71 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | regulator: hi6421v530: Drop unused 'eco_microamp' (diff) | |
download | wireguard-linux-7dd36b3287182bc889953f7741bdcef037109210.tar.xz wireguard-linux-7dd36b3287182bc889953f7741bdcef037109210.zip |
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 <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20240909-regulator-const-v1-16-8934704a5787@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions