Re: [PATCH] greybus: Omit a redundant pm_runtime_mark_last_busy() call in two functions()

From: Johan Hovold

Date: Tue Mar 17 2026 - 10:17:29 EST


On Sat, Mar 14, 2026 at 04:05:23PM +0100, Markus Elfring wrote:
> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Date: Sat, 14 Mar 2026 16:00:20 +0100
>
> The device's last busy timestamp was set in a wrapper function since
> the commit 18c1fe53d186867243f4cf17f4eef60737a16c4c ("PM: runtime:

nit: 12 char hash is enough and reads better

> Mark last busy stamp in pm_request_autosuspend()").
> Thus delete a pm_runtime_mark_last_busy() call before
> two pm_request_autosuspend() calls.
>
> The source code was transformed by using the Coccinelle software.
>
> Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>

Reviewed-by: Johan Hovold <johan@xxxxxxxxxx>

Johan