diff options
| author | Sakari Ailus <[email protected]> | 2025-07-04 07:54:47 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2025-07-04 23:50:32 +0000 |
| commit | 2fca750160f29015ab1109bb478537a4e415f7cd (patch) | |
| tree | 5d2ad3dc8f71aef1452e9396a163bfae9f337a81 /drivers/spi/spi-stm32.c | |
| parent | Documentation: PM: *_autosuspend() functions update last busy time (diff) | |
| download | kernel-2fca750160f29015ab1109bb478537a4e415f7cd.tar.gz kernel-2fca750160f29015ab1109bb478537a4e415f7cd.zip | |
spi: Remove redundant pm_runtime_mark_last_busy() calls
pm_runtime_put_autosuspend(), pm_runtime_put_sync_autosuspend(),
pm_runtime_autosuspend() and pm_request_autosuspend() now include a call
to pm_runtime_mark_last_busy(). Remove the now-reduntant explicit call to
pm_runtime_mark_last_busy().
Signed-off-by: Sakari Ailus <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
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 da3517d7102d..d819ed4aa4fd 100644 --- a/drivers/spi/spi-stm32.c +++ b/drivers/spi/spi-stm32.c @@ -2233,7 +2233,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", @@ -2342,7 +2341,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; |
