spi: spi-geni-qcom: Unconditionally call dev_pm_opp_of_remove_table()
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 28 Aug 2020 06:07:50 +0000 (11:37 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 9 Sep 2020 15:11:41 +0000 (16:11 +0100)
commit7d568edff5cb7968cc5f29e85da15f941b8070b8
treed8b6fc6d3dcec45ec6cb8f3d2b4a4fe30588e551
parentf4d51dffc6c01a9e94650d95ce0104964f8ae822
spi: spi-geni-qcom: 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/ea0864d41277e61fa31d304fbd4cf9af6b314269.1598594714.git.viresh.kumar@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-geni-qcom.c