diff options
author | 2024-09-09 15:51:28 +0200 | |
---|---|---|
committer | 2024-09-10 12:44:18 +0100 | |
commit | c4d6a804713ac080841d1711a98ae1a6ecaede38 (patch) | |
tree | c4c148149cb849ef9652a754c798ef1fd990e93c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | regulator: hi6421v530: Use container_of and constify static data (diff) | |
download | wireguard-linux-c4d6a804713ac080841d1711a98ae1a6ecaede38.tar.xz wireguard-linux-c4d6a804713ac080841d1711a98ae1a6ecaede38.zip |
regulator: max77650: Use container_of and constify static data
Switch from rdev_get_drvdata() to container_of(), so the static
'struct max77650_regulator_desc' 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-17-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