Linux Power Management development
 help / color / mirror / Atom feed
* [PATCH v1] PM: sleep: Update stale comment in device_resume()
@ 2024-12-04 13:02 Rafael J. Wysocki
  2024-12-04 13:12 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 5+ messages in thread
From: Rafael J. Wysocki @ 2024-12-04 13:02 UTC (permalink / raw)
  To: Linux PM; +Cc: Greg Kroah-Hartman, LKML, Ulf Hansson, Saravana Kannan

From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

There is no function called __device_suspend() any more and it is still
mentioned in a comment in device_resume(), so update that comment.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---
 drivers/base/power/main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-pm/drivers/base/power/main.c
===================================================================
--- linux-pm.orig/drivers/base/power/main.c
+++ linux-pm/drivers/base/power/main.c
@@ -914,7 +914,7 @@ static void device_resume(struct device
 		goto Complete;
 
 	if (dev->power.direct_complete) {
-		/* Match the pm_runtime_disable() in __device_suspend(). */
+		/* Match the pm_runtime_disable() in device_suspend(). */
 		pm_runtime_enable(dev);
 		goto Complete;
 	}




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-12-04 14:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-04 13:02 [PATCH v1] PM: sleep: Update stale comment in device_resume() Rafael J. Wysocki
2024-12-04 13:12 ` Greg Kroah-Hartman
2024-12-04 14:16   ` Rafael J. Wysocki
2024-12-04 14:20     ` Greg Kroah-Hartman
2024-12-04 14:23       ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox