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

From: Dmitry Osipenko
Date: Mon Sep 20 2021 - 17:03:14 EST


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(-)

--
2.32.0