summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorSebastian Reichel <sebastian.reichel@collabora.com>2025-02-20 21:58:07 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2025-02-28 15:06:53 +0300
commitedcef667070f7dbddca403e6331c86940407dae0 (patch)
tree66085bff85f16068a4f1afbd44de36d7efad7a0e /scripts/generate_rust_analyzer.py
parent7ab6c930b92378ab86ed05bbe78877ef578c7fea (diff)
downloadlinux-edcef667070f7dbddca403e6331c86940407dae0.tar.xz
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 <heiko@sntech.de> Tested-by: Heiko Stuebner <heiko@sntech.de> Tested-by: Adrian Larumbe <adrian.larumbe@collabora.com> # On Rock 5B Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Link: https://lore.kernel.org/r/20250220-rk3588-gpu-pwr-domain-regulator-v6-4-a4f9c24e5b81@kernel.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions