Re: [PATCH] Coccinelle: api: Add SmPL script “pm_runtime_mark_last_busy-deletion.cocci”

From: Markus Elfring

Date: Tue Apr 21 2026 - 02:07:52 EST


> Date: Fri, 13 Mar 2026 18:15:11 +0100
>
> The device's last busy timestamp was set in a wrapper function since
> the commit b3db492e8335417dfd66c1fa2ea08e1d2f7b6736 ("PM: runtime:
> Mark last busy stamp in pm_runtime_put_autosuspend()").
> Thus delete pm_runtime_mark_last_busy() calls before
> pm_runtime_put_autosuspend() calls.
> Provide design options for the adjustment of affected source code
> by the means of the semantic patch language (Coccinelle software).

How many contributors will get into the mood to achieve further collateral evolution
also with the help of such an SmPL script?

Regards,
Markus