drm/radeon: simplify if-if to if-else
authorGuo Zhengkui <guozhengkui@vivo.com>
Fri, 1 Apr 2022 02:59:29 +0000 (10:59 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Apr 2022 14:20:12 +0000 (10:20 -0400)
commit69f0b547e68c27a2e432a2d0459915babf015cb3
tree40b8e81e47dfd02f3986d6fd2c7581e18634c51d
parent96621ca578dbadeb12bd190e0733cdc5c76899d8
drm/radeon: simplify if-if to if-else

Replace `if (!ret)` with `else` for simplification.

Signed-off-by: Guo Zhengkui <guozhengkui@vivo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_pm.c