Skip to content
Snippets Groups Projects
Commit 5326a497 authored by Sebastian Reichel's avatar Sebastian Reichel
Browse files

[MERGED] 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: default avatarHeiko Stuebner <heiko@sntech.de>
Tested-by: Adrian Larumbe <adrian.larumbe@collabora.com> # On Rock 5B
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 2b4f1e59
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment