diff options
author | 2025-04-17 16:25:01 +0200 | |
---|---|---|
committer | 2025-05-02 12:34:06 +0200 | |
commit | f80fa80a4e364f5d05ad02d095f7e6910c77817e (patch) | |
tree | aa4377ebb09b401d7824f4f989d76b3a551e9c56 /scripts/lib/kdoc/kdoc_output.py | |
parent | pmdomain: core: Simplify return statement in genpd_power_off() (diff) | |
download | linux-rng-f80fa80a4e364f5d05ad02d095f7e6910c77817e.tar.xz linux-rng-f80fa80a4e364f5d05ad02d095f7e6910c77817e.zip |
pmdomain: core: Use genpd->opp_table to simplify error/remove path
While we add an OF-provider we may, based upon a specific condition, also
assign genpd->opp_table. Rather using the same specific condition in the
error/remove path, let's check genpd->opp_table instead as it makes the
code easier.
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-4-ulf.hansson@linaro.org
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions