]> git.baikalelectronics.ru Git - kernel.git/commit
spi: spi-qcom-qspi: Unconditionally call dev_pm_opp_of_remove_table()
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 28 Aug 2020 06:07:51 +0000 (11:37 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 9 Sep 2020 15:11:42 +0000 (16:11 +0100)
commit5c0cfd5dc344c9dc8eb9cc087c57204dc4f6f7da
tree217153326211d99424a5957b2544da4e2a54f583
parent068ce78eed7b9f696460933342158089db850341
spi: spi-qcom-qspi: 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, create a new label and put clkname on errors.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/b77aa0bbe82a580508e321a34da488b4b27966d0.1598594714.git.viresh.kumar@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-qcom-qspi.c