cpufreq: tegra20: Use resource-managed API
authorDmitry Osipenko <digetx@gmail.com>
Sun, 17 Jan 2021 23:18:25 +0000 (02:18 +0300)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 18 Jan 2021 06:32:53 +0000 (12:02 +0530)
commit763ec5daaea835e5604d08364c9081e7304b7c2b
tree98056c7405c87463a954ae1c9cd1f0c7388182e2
parent5c8fe583cce542aa0b84adc939ce85293de36e5e
cpufreq: tegra20: Use resource-managed API

Switch cpufreq-tegra20 driver to use resource-managed API.
This removes the need to get opp_table pointer using
dev_pm_opp_get_opp_table() in order to release OPP table that
was requested by dev_pm_opp_set_supported_hw(), making the code
a bit more straightforward.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/tegra20-cpufreq.c