diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2025-04-17 16:25:00 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2025-05-02 12:34:01 +0200 |
commit | f34a06762799e35047cad47a5db86a28174a4c4d (patch) | |
tree | 19052d4258ce12d5f7498b4ccb8b750ec54eb5a2 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 0e3b66725eaa51e8e5a20a582bf6338f131913d6 (diff) |
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 <abel.vesa@linaro.org>
Tested-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20250417142513.312939-3-ulf.hansson@linaro.org
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions