Re: [PATCH] spi: axiado: Remove redundant pm_runtime_mark_last_busy() call
From: Markus Elfring
Date: Tue Mar 10 2026 - 05:39:22 EST
…
> +++ 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