Re: [PATCH] spi: axiado: Remove redundant pm_runtime_mark_last_busy() call
Markus Elfring <[email protected]>
| Newsgroups | org.kernel.vger.kernel-janitors,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-spi |
|---|---|
| Message-ID | <[email protected]> |
… > +++ 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