Skip to content

Commit f6267c8

Browse files
charleskeepaxbroonie
authored andcommitted
spi: cs42l43: Remove spurious pm_runtime_disable
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 4221a2b commit f6267c8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/spi/spi-cs42l43.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ static int cs42l43_spi_probe(struct platform_device *pdev)
256256

257257
ret = devm_spi_register_controller(priv->dev, priv->ctlr);
258258
if (ret) {
259-
pm_runtime_disable(priv->dev);
260259
dev_err(priv->dev, "Failed to register SPI controller: %d\n", ret);
261260
}
262261

0 commit comments

Comments
 (0)