OSDN Git Service

drm/msm: Unconditionally call dev_pm_opp_of_remove_table()
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 28 Oct 2020 06:44:22 +0000 (12:14 +0530)
committerRob Clark <robdclark@chromium.org>
Sun, 1 Nov 2020 18:38:46 +0000 (10:38 -0800)
commit6400a8e886c6a3ee0cfcbcdc0867a3e91186683c
treee11bd41abca24d58cbd4ae88d82d3483e1415c00
parent363bcec913d82703be6ae0ad5fe5488532f5cdac
drm/msm: 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.

While at it, also create a label to put clkname.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h
drivers/gpu/drm/msm/dsi/dsi_host.c