aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-09-09 15:51:27 +0200
committerMark Brown <broonie@kernel.org>2024-09-10 12:44:17 +0100
commit7dd36b3287182bc889953f7741bdcef037109210 (patch)
tree9250037a8ab3b91e4b4562916d223e9d9cf37a71 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parente9c7ff34c26d009c2f7c3d51236ed5a808dbc0d7 (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 <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 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions