diff options
| author | Ulf Hansson <[email protected]> | 2025-04-17 14:25:00 +0000 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2025-05-02 10:34:01 +0000 |
| commit | f34a06762799e35047cad47a5db86a28174a4c4d (patch) | |
| tree | 19052d4258ce12d5f7498b4ccb8b750ec54eb5a2 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | pmdomain: core: Convert genpd_power_off() to void (diff) | |
| download | kernel-f34a06762799e35047cad47a5db86a28174a4c4d.tar.gz kernel-f34a06762799e35047cad47a5db86a28174a4c4d.zip | |
pmdomain: core: Simplify return statement in genpd_power_off()
Rather than using two if-clauses immediately after each to check for
similar reasons to prevent the power-off, let's combine them into one
if-clause to simplify the code.
Reviewed-by: Abel Vesa <[email protected]>
Tested-by: Tomi Valkeinen <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
