mmc: sdhci-msm: Unconditionally call dev_pm_opp_of_remove_table()
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 9 Sep 2020 14:11:53 +0000 (19:41 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 11 Sep 2020 09:43:21 +0000 (11:43 +0200)
commit91ca244bdcb6a0b6ad12c8325e5e9228b9472374
tree3fec708b9c19b2bf6d7718b5f033ff28e8de3ee0
parentce6f92c2801e90650106b00666aa37560978e324
mmc: sdhci-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.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/890ae5601594fca5de104695a682f4b6efbc631b.1599660554.git.viresh.kumar@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-msm.c