]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
pmdomain: core: Manage the default required OPP from a separate function
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 2 Oct 2024 12:22:26 +0000 (14:22 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 10 Oct 2024 12:14:36 +0000 (14:14 +0200)
commitcf06fb6f0b07012cd6cf863ecb93a57773e4e16e
treef5dfaf4cb6afad21b74daee69c123c0a6c658144
parent98d277a79126a2df8a2617215846d01f823cfffa
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
drivers/pmdomain/core.c