[PATCH] spi: axiado: Remove redundant pm_runtime_mark_last_busy() call
Markus Elfring
Markus.Elfring at web.de
Tue Mar 10 02:33:21 PDT 2026
…
> +++ b/drivers/spi/spi-axiado.c
> @@ -850,7 +850,6 @@ static int ax_spi_probe(struct platform_device *pdev)
>
> ctlr->bits_per_word_mask = SPI_BPW_MASK(8);
>
> - pm_runtime_mark_last_busy(&pdev->dev);
> pm_runtime_put_autosuspend(&pdev->dev);
>
> ctlr->mem_ops = &ax_spi_mem_ops;
How do you think about to construct another coccicheck script
for such a source code transformation pattern?
https://elixir.bootlin.com/linux/v7.0-rc3/source/include/linux/pm_runtime.h#L579-L603
Regards,
Markus
More information about the linux-arm-kernel
mailing list