Commit f80fa80
committed
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.org1 parent f34a067 commit f80fa80
1 file changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2343 | 2343 | | |
2344 | 2344 | | |
2345 | 2345 | | |
| 2346 | + | |
2346 | 2347 | | |
2347 | 2348 | | |
2348 | 2349 | | |
| |||
2617 | 2618 | | |
2618 | 2619 | | |
2619 | 2620 | | |
2620 | | - | |
| 2621 | + | |
2621 | 2622 | | |
2622 | 2623 | | |
2623 | 2624 | | |
| |||
2697 | 2698 | | |
2698 | 2699 | | |
2699 | 2700 | | |
2700 | | - | |
| 2701 | + | |
2701 | 2702 | | |
2702 | 2703 | | |
2703 | 2704 | | |
| |||
2729 | 2730 | | |
2730 | 2731 | | |
2731 | 2732 | | |
2732 | | - | |
2733 | | - | |
2734 | | - | |
2735 | | - | |
2736 | | - | |
| 2733 | + | |
| 2734 | + | |
| 2735 | + | |
| 2736 | + | |
2737 | 2737 | | |
2738 | 2738 | | |
2739 | 2739 | | |
| |||
0 commit comments