summaryrefslogtreecommitdiff
path: root/drivers/base/power/main.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-12-04 14:02:04 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-12-05 12:07:10 +0100
commit6e47c6e737082110386aaad6f7a6984193b29966 (patch)
treead5efa63525e028226540014a923219fe109dd62 /drivers/base/power/main.c
parente70140ba0d2b1a30467d4af6bcfe761327b9ec95 (diff)
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
Diffstat (limited to 'drivers/base/power/main.c')
-rw-r--r--drivers/base/power/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c
index 4a67e83300e1..495ca6d7193a 100644
--- a/drivers/base/power/main.c
+++ b/drivers/base/power/main.c
@@ -914,7 +914,7 @@ static void device_resume(struct device *dev, pm_message_t state, bool async)
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;
}