diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2023-09-22 10:08:29 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-09-22 15:43:17 +0100 |
commit | f6267c81dbd9c66e5d7dfd65e5a849f688c877b8 (patch) | |
tree | efd2e66c7ef1f1b3ce9cd1720968b120e07e8f24 /drivers | |
parent | 4221a2bec2189275f3f49492a73221498ae6d131 (diff) | |
download | lwn-f6267c81dbd9c66e5d7dfd65e5a849f688c877b8.tar.gz lwn-f6267c81dbd9c66e5d7dfd65e5a849f688c877b8.zip |
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: ef75e767167a ("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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/spi/spi-cs42l43.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-cs42l43.c b/drivers/spi/spi-cs42l43.c index 453a9b37ce78..d239fc5a49cc 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); } |