[PATCH 0/5] PM: domains: Drop pm_genpd_opp_to_performance_state()

From: Ulf Hansson
Date: Thu Oct 12 2023 - 11:21:40 EST


Since commit 7c41cdcd3bbe ("OPP: Simplify the over-designed pstate <-> level
dance"), there is no longer any users of the
pm_genpd_opp_to_performance_state() API, while a few genpd providers are still
assigning the redundant ->opp_to_performance_state() callback.

Let's clean this up so we can drop pm_genpd_opp_to_performance_state() and the
callback too.

Rafael, I would like to take this through my pmdomain tree, unless you see a
problem with it ofcourse, hence I need your ack on the last patch in the series.

Kind regards
Uffe


Ulf Hansson (5):
soc/tegra: pmc: Drop the ->opp_to_performance_state() callback
pmdomain: qcom: cpr: Drop the ->opp_to_performance_state() callback
pmdomain: qcom: rpmpd: Drop the ->opp_to_performance_state() callback
pmdomain: qcom: rpmhpd: Drop the ->opp_to_performance_state() callback
PM: domains: Drop the unused pm_genpd_opp_to_performance_state()

drivers/base/power/domain.c | 32 --------------------------------
drivers/pmdomain/qcom/cpr.c | 7 -------
drivers/pmdomain/qcom/rpmhpd.c | 7 -------
drivers/pmdomain/qcom/rpmpd.c | 7 -------
drivers/soc/tegra/pmc.c | 8 --------
include/linux/pm_domain.h | 12 ------------
6 files changed, 73 deletions(-)

--
2.34.1