mbox series

[v2,0/4] Make probe() of Tegra devfreq driver completely resource-managed

Message ID 20210920172249.28206-1-digetx@gmail.com (mailing list archive)
Headers show
Series Make probe() of Tegra devfreq driver completely resource-managed | expand

Message

Dmitry Osipenko Sept. 20, 2021, 5:22 p.m. UTC
This series adds new resource-managed helpers and makes Tegra devfreq
driver to use them, improving the driver's error-handling code.

Changelog:

v2: - Added WARN_ON() to devm_devfreq_remove_governor() and moved
      devm_devfreq_add_governor() as was requested by Chanwoo Choi.

    - Added ack from Chanwoo Choi to the "Check whether clk_round_rate()
      returns zero rate" patch.

Dmitry Osipenko (4):
  opp: Add more resource-managed variants of dev_pm_opp_of_add_table()
  PM / devfreq: Add devm_devfreq_add_governor()
  PM / devfreq: tegra30: Use resource-managed helpers
  PM / devfreq: tegra30: Check whether clk_round_rate() returns zero
    rate

 drivers/devfreq/devfreq.c         |  26 +++++++
 drivers/devfreq/governor.h        |   3 +
 drivers/devfreq/tegra30-devfreq.c | 109 +++++++++++++-----------------
 drivers/opp/of.c                  |  46 +++++++++++--
 include/linux/pm_opp.h            |  12 ++++
 5 files changed, 127 insertions(+), 69 deletions(-)

Comments

Viresh Kumar Oct. 5, 2021, 4:25 a.m. UTC | #1
On 20-09-21, 20:22, Dmitry Osipenko wrote:
> This series adds new resource-managed helpers and makes Tegra devfreq
> driver to use them, improving the driver's error-handling code.
> 
> Changelog:
> 
> v2: - Added WARN_ON() to devm_devfreq_remove_governor() and moved
>       devm_devfreq_add_governor() as was requested by Chanwoo Choi.
> 
>     - Added ack from Chanwoo Choi to the "Check whether clk_round_rate()
>       returns zero rate" patch.
> 
> Dmitry Osipenko (4):
>   opp: Add more resource-managed variants of dev_pm_opp_of_add_table()
>   PM / devfreq: Add devm_devfreq_add_governor()
>   PM / devfreq: tegra30: Use resource-managed helpers
>   PM / devfreq: tegra30: Check whether clk_round_rate() returns zero
>     rate

Applied. Thanks.