staging: greybus: gbphy: Omit a redundant pm_runtime_mark_last_busy() call in gb_gbphy_idle()
Subsystems (3)
PATCH 1/1 staging: greybus: gbphy: Omit a redundant pm_runtime_mark_last_busy() call in gb_gbphy_idle()
From: Markus Elfring <[email protected]>
Date: Sat, 14 Mar 2026 15:35:09 +0100
The device's last busy timestamp was set in a wrapper function since the commit 18c1fe53d186867243f4cf17f4eef60737a16c4c ("PM: runtime:
Mark last busy stamp in pm_request_autosuspend()").
Thus delete a pm_runtime_mark_last_busy() call before
a pm_request_autosuspend() call.
The source code was transformed by using the Coccinelle software.
--- drivers/staging/greybus/gbphy.c | 1 - 1 file changed, 1 deletion(-)
drivers/staging/greybus/gbphy.c +0 -1
@@ -53,7 +53,6 @@ static void gbphy_dev_release(struct device *dev)#ifdef CONFIG_PM static int gb_gbphy_idle (struct device *dev) { -pm_runtime_mark_last_busy (dev);pm_request_autosuspend (dev);return 0 ; }
Signature · 1 line
2.53.0
Quoted 5 lines · Markus Elfring
From: Markus Elfring <[email protected]>
Date: Sat, 14 Mar 2026 15:35:09 +0100The 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
Quoted 7 lines
Mark last busy stamp in
pm_request_autosuspend()"). Thus delete apm_runtime_mark_last_busy()call before apm_request_autosuspend()call.The source code was transformed by using the Coccinelle software.
Signed-off-by Markus Elfring <[email protected]>
Johan