diff options
author | 2025-04-17 16:25:00 +0200 | |
---|---|---|
committer | 2025-05-02 12:34:01 +0200 | |
commit | f34a06762799e35047cad47a5db86a28174a4c4d (patch) | |
tree | 19052d4258ce12d5f7498b4ccb8b750ec54eb5a2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | pmdomain: core: Convert genpd_power_off() to void (diff) | |
download | linux-rng-f34a06762799e35047cad47a5db86a28174a4c4d.tar.xz linux-rng-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 <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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions