From: Markus Elfring <Markus.Elfring@web.de>
To: Felix Gu <ustc.gu@gmail.com>,
linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
Alejandro Colomar <alx@kernel.org>,
Harshit Shah <hshah@axiado.com>, Mark Brown <broonie@kernel.org>,
Prasad Bolisetty <pbolisetty@axiado.com>,
Swark Yang <syang@axiado.com>, Tzu-Hao Wei <twei@axiado.com>,
Vladimir Moravcevic <vmoravcevic@axiado.com>
Cc: LKML <linux-kernel@vger.kernel.org>, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] spi: axiado: Remove redundant pm_runtime_mark_last_busy() call
Date: Tue, 10 Mar 2026 10:33:21 +0100 [thread overview]
Message-ID: <6af3368d-cf12-437e-adba-3e8a56dc19ee@web.de> (raw)
In-Reply-To: <20260307-axiado-1-v1-1-e90aa1b6dd9b@gmail.com>
…
> +++ 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
next prev parent reply other threads:[~2026-03-10 9:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-07 7:47 [PATCH] spi: axiado: Remove redundant pm_runtime_mark_last_busy() call Felix Gu
2026-03-10 9:33 ` Markus Elfring [this message]
2026-03-14 21:59 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6af3368d-cf12-437e-adba-3e8a56dc19ee@web.de \
--to=markus.elfring@web.de \
--cc=alx@kernel.org \
--cc=broonie@kernel.org \
--cc=hshah@axiado.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=pbolisetty@axiado.com \
--cc=syang@axiado.com \
--cc=twei@axiado.com \
--cc=ustc.gu@gmail.com \
--cc=vmoravcevic@axiado.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox