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

From: Dmitry Osipenko
Date: Sun Sep 12 2021 - 14:46:20 EST


This series adds new resource-managed helpers and makes Tegra devfreq
driver to use them, improving the driver's error-handling code.

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