]> Gentwo Git Trees - linux/.git/commit
cpufreq: qcom-nvmem: Convert to dev_pm_domain_attach|detach_list()
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 2 Oct 2024 12:22:31 +0000 (14:22 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 10 Oct 2024 12:19:12 +0000 (14:19 +0200)
commit9da666ee5e38e11dffd4e161b282265676152c55
tree50c5cfccfc6f3ac442366b30e9852194a4350566
parenta79d5da21b40ff524d353693e9c5dae8e46311dd
cpufreq: qcom-nvmem: Convert to dev_pm_domain_attach|detach_list()

Rather than hooking up the PM domains through _opp_attach_genpd() and
manually manage runtime PM for the corresponding virtual devices created by
genpd during attach, let's avoid the boilerplate-code by converting into
dev_pm_domain_attach|detach_list.

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-11-ulf.hansson@linaro.org
drivers/cpufreq/qcom-cpufreq-nvmem.c