diff mbox series

spi: cs42l43: Remove spurious pm_runtime_disable

Message ID 20230922090829.1467594-1-ckeepax@opensource.cirrus.com
State Accepted
Commit f6267c81dbd9c66e5d7dfd65e5a849f688c877b8
Headers show
Series spi: cs42l43: Remove spurious pm_runtime_disable | expand

Commit Message

Charles Keepax Sept. 22, 2023, 9:08 a.m. UTC
A pm_runtime_disable was left in when the driver was ported to use
devm_pm_runtime_enable, remove it.

Fixes: ef75e767167a ("spi: cs42l43: Add SPI controller support")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
---
 drivers/spi/spi-cs42l43.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Mark Brown Sept. 22, 2023, 7:28 p.m. UTC | #1
On Fri, 22 Sep 2023 10:08:29 +0100, Charles Keepax wrote:
> A pm_runtime_disable was left in when the driver was ported to use
> devm_pm_runtime_enable, remove it.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/1] spi: cs42l43: Remove spurious pm_runtime_disable
      commit: f6267c81dbd9c66e5d7dfd65e5a849f688c877b8

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
diff mbox series

Patch

diff --git a/drivers/spi/spi-cs42l43.c b/drivers/spi/spi-cs42l43.c
index 453a9b37ce785..d239fc5a49ccc 100644
--- a/drivers/spi/spi-cs42l43.c
+++ b/drivers/spi/spi-cs42l43.c
@@ -256,7 +256,6 @@  static int cs42l43_spi_probe(struct platform_device *pdev)
 
 	ret = devm_spi_register_controller(priv->dev, priv->ctlr);
 	if (ret) {
-		pm_runtime_disable(priv->dev);
 		dev_err(priv->dev, "Failed to register SPI controller: %d\n", ret);
 	}