Skip to content

Commit

Permalink
spi: cs42l43: Remove spurious pm_runtime_disable
Browse files Browse the repository at this point in the history
A pm_runtime_disable was left in when the driver was ported to use
devm_pm_runtime_enable, remove it.

Fixes: ef75e76 ("spi: cs42l43: Add SPI controller support")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20230922090829.1467594-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Charles Keepax authored and Mark Brown committed Sep 22, 2023
1 parent 4221a2b commit f6267c8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/spi/spi-cs42l43.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit f6267c8

Please sign in to comment.