diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-09-09 15:51:28 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-09-10 12:44:18 +0100 |
commit | c4d6a804713ac080841d1711a98ae1a6ecaede38 (patch) | |
tree | c4c148149cb849ef9652a754c798ef1fd990e93c /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
parent | 7dd36b3287182bc889953f7741bdcef037109210 (diff) |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions