]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
PM: sleep: Update stale comment in device_resume()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 4 Dec 2024 13:02:04 +0000 (14:02 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 5 Dec 2024 11:07:10 +0000 (12:07 +0100)
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
drivers/base/power/main.c

index 4a67e83300e164cfcaf216004df3786de3597369..495ca6d7193a26df388b9f13d1c2aaec60668306 100644 (file)
@@ -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;
        }