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)
commit062cf7fc927d2546b58ed128383e5c52f26a00a5
tree217153326211d99424a5957b2544da4e2a54f583
parent7d568edff5cb7968cc5f29e85da15f941b8070b8
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