drm/lima: Unconditionally call dev_pm_opp_of_remove_table()
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 28 Oct 2020 06:44:21 +0000 (12:14 +0530)
committerQiang Yu <yuq825@gmail.com>
Mon, 16 Nov 2020 00:32:22 +0000 (08:32 +0800)
commita14d546f7270d017fbc8bf96b6ea2e0e933689ea
tree6c08e589f12a510dc4b94491b405de3bafd696d1
parentcd434e740ff2730802593bb1fceccd28ad82d5f9
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
drivers/gpu/drm/lima/lima_devfreq.c
drivers/gpu/drm/lima/lima_devfreq.h