mbox series

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

Message ID 20231012152108.101270-1-ulf.hansson@linaro.org
Headers show
Series PM: domains: Drop pm_genpd_opp_to_performance_state() | expand

Message

Ulf Hansson Oct. 12, 2023, 3:21 p.m. UTC
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(-)

Comments

Thierry Reding Oct. 13, 2023, 11:59 a.m. UTC | #1
From: Thierry Reding <treding@nvidia.com>


On Thu, 12 Oct 2023 17:21:08 +0200, Ulf Hansson wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/5] soc/tegra: pmc: Drop the ->opp_to_performance_state() callback
      commit: cda263907a6f88c75fb97cf7adecffaafb6237ec

Best regards,