cpufreq: imx6q: Unconditionally call dev_pm_opp_of_remove_table()
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 20 Aug 2020 10:16:20 +0000 (15:46 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Thu, 10 Sep 2020 11:06:09 +0000 (16:36 +0530)
commitded10c47f39e0f850d53f5a2b418fbafdef53347
treed1cdafd2f44a6ff73a2b1abd0d90611dc3e2804b
parent922ff0759a16299e24cacfc981ac07914d8f1826
cpufreq: imx6q: Unconditionally call dev_pm_opp_of_remove_table()

dev_pm_opp_of_remove_table() doesn't report any errors when it fails to
find the OPP table with error -ENODEV (i.e. OPP table not present for
the device). And we can call dev_pm_opp_of_remove_table()
unconditionally here.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/imx6q-cpufreq.c