pmdomain: core: Manage the default required OPP from a separate function

To improve the readability of the code in __genpd_dev_pm_attach(), let's
move out the required OPP handling into a separate function.

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20241002122232.194245-6-ulf.hansson@linaro.org
This commit is contained in:
Ulf Hansson 2024-10-02 14:22:26 +02:00
commit cf06fb6f0b