aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_devfreq.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2020-10-28 12:14:21 +0530
committerQiang Yu <yuq825@gmail.com>2020-11-16 08:32:22 +0800
commita14d546f7270d017fbc8bf96b6ea2e0e933689ea (patch)
tree6c08e589f12a510dc4b94491b405de3bafd696d1 /drivers/gpu/drm/lima/lima_devfreq.h
parentdrm/lima/lima_sched: Remove unused and unnecessary variable 'ret' (diff)
downloadlinux-dev-a14d546f7270d017fbc8bf96b6ea2e0e933689ea.tar.xz
linux-dev-a14d546f7270d017fbc8bf96b6ea2e0e933689ea.zip
drm/lima: 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. Reviewed-by: Qiang Yu <yuq825@gmail.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Qiang Yu <yuq825@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/c995335d16d8b4b4ff47b1273869c33e14782b32.1603867405.git.viresh.kumar@linaro.org
Diffstat (limited to 'drivers/gpu/drm/lima/lima_devfreq.h')
-rw-r--r--drivers/gpu/drm/lima/lima_devfreq.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/lima/lima_devfreq.h b/drivers/gpu/drm/lima/lima_devfreq.h
index 5eed2975a375..2d9b3008ce77 100644
--- a/drivers/gpu/drm/lima/lima_devfreq.h
+++ b/drivers/gpu/drm/lima/lima_devfreq.h
@@ -18,7 +18,6 @@ struct lima_devfreq {
struct opp_table *clkname_opp_table;
struct opp_table *regulators_opp_table;
struct thermal_cooling_device *cooling;
- bool opp_of_table_added;
ktime_t busy_time;
ktime_t idle_time;