diff options
| author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-09-09 16:51:28 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2024-09-10 14:44:18 +0300 |
| commit | c4d6a804713ac080841d1711a98ae1a6ecaede38 (patch) | |
| tree | c4c148149cb849ef9652a754c798ef1fd990e93c /tools/perf/scripts/python/futex-contention.py | |
| parent | 7dd36b3287182bc889953f7741bdcef037109210 (diff) | |
| download | linux-c4d6a804713ac080841d1711a98ae1a6ecaede38.tar.xz | |
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/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
