diff options
| author | Mark Brown <broonie@kernel.org> | 2025-07-07 16:12:21 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-07-07 16:12:21 +0100 |
| commit | 45d0376e4970417c9a5ab17af7f40d817015ae32 (patch) | |
| tree | 756594ebe570aa9ade25f849e4bd6e1fe949cca1 /drivers/spi/spi-stm32.c | |
| parent | 51106b830ad9dc0a2cf932e27a921e01de2df876 (diff) | |
| parent | 2fca750160f29015ab1109bb478537a4e415f7cd (diff) | |
treewide: Remove redundant
Merge series from Sakari Ailus <sakari.ailus@linux.intel.com>:
Late last year I posted a set to switch to __pm_runtime_mark_last_busy()
and gradually get rid of explicit pm_runtime_mark_last_busy() calls in
drivers, embedding them in the appropriate pm_runtime_*autosuspend*()
calls. The overall feedback I got at the time was that this is an
unnecessary intermediate step, and removing the
pm_runtime_mark_last_busy() calls can be done after adding them to the
relevant Runtime PM autosuspend related functions.
Diffstat (limited to 'drivers/spi/spi-stm32.c')
| -rw-r--r-- | drivers/spi/spi-stm32.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-stm32.c b/drivers/spi/spi-stm32.c index a29c67024d00..2c804c1aef98 100644 --- a/drivers/spi/spi-stm32.c +++ b/drivers/spi/spi-stm32.c @@ -2471,7 +2471,6 @@ static int stm32_spi_probe(struct platform_device *pdev) goto err_pm_disable; } - pm_runtime_mark_last_busy(&pdev->dev); pm_runtime_put_autosuspend(&pdev->dev); dev_info(&pdev->dev, "driver initialized (%s mode)\n", @@ -2592,7 +2591,6 @@ static int __maybe_unused stm32_spi_resume(struct device *dev) spi->cfg->config(spi); - pm_runtime_mark_last_busy(dev); pm_runtime_put_autosuspend(dev); return 0; |