Skip to content

Commit 6e47c6e

Browse files
committed
PM: sleep: Update stale comment in device_resume()
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> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://patch.msgid.link/2787627.mvXUDI8C0e@rjwysocki.net
1 parent e70140b commit 6e47c6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/base/power/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ static void device_resume(struct device *dev, pm_message_t state, bool async)
914914
goto Complete;
915915

916916
if (dev->power.direct_complete) {
917-
/* Match the pm_runtime_disable() in __device_suspend(). */
917+
/* Match the pm_runtime_disable() in device_suspend(). */
918918
pm_runtime_enable(dev);
919919
goto Complete;
920920
}

0 commit comments

Comments
 (0)