aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorUlf Hansson <[email protected]>2025-04-17 14:25:01 +0000
committerUlf Hansson <[email protected]>2025-05-02 10:34:06 +0000
commitf80fa80a4e364f5d05ad02d095f7e6910c77817e (patch)
treeaa4377ebb09b401d7824f4f989d76b3a551e9c56 /rust/helpers/platform.c
parentpmdomain: core: Simplify return statement in genpd_power_off() (diff)
downloadkernel-f80fa80a4e364f5d05ad02d095f7e6910c77817e.tar.gz
kernel-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 <[email protected]> Tested-by: Tomi Valkeinen <[email protected]> Signed-off-by: Ulf Hansson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions