diff options
| author | Sebastian Reichel <[email protected]> | 2025-02-20 18:58:07 +0000 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2025-02-28 12:06:53 +0000 |
| commit | edcef667070f7dbddca403e6331c86940407dae0 (patch) | |
| tree | 66085bff85f16068a4f1afbd44de36d7efad7a0e /drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c | |
| parent | pmdomain: rockchip: forward rockchip_do_pmu_set_power_domain errors (diff) | |
| download | kernel-edcef667070f7dbddca403e6331c86940407dae0.tar.gz kernel-edcef667070f7dbddca403e6331c86940407dae0.zip | |
pmdomain: rockchip: reduce indentation in rockchip_pd_power
Rework the logic, so that the function exits early when the
power domain state is already correct to reduce code indentation.
No functional change intended.
Reviewed-by: Heiko Stuebner <[email protected]>
Tested-by: Heiko Stuebner <[email protected]>
Tested-by: Adrian Larumbe <[email protected]> # On Rock 5B
Signed-off-by: Sebastian Reichel <[email protected]>
Link: https://lore.kernel.org/r/20250220-rk3588-gpu-pwr-domain-regulator-v6-4-a4f9c24e5b81@kernel.org
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c')
0 files changed, 0 insertions, 0 deletions
