Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6675bc05 authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Rafael J. Wysocki
Browse files

PM / Runtime: Fix comments to match runtime callback code



Commit 05aa55dd changed routines to
succeed if the driver handler is not defined. Comments were not updated.

Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent eda4b716
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ EXPORT_SYMBOL_GPL(pm_generic_runtime_idle);
 *
 * If PM operations are defined for the @dev's driver and they include
 * ->runtime_suspend(), execute it and return its error code.  Otherwise,
 * return -EINVAL.
 * return 0.
 */
int pm_generic_runtime_suspend(struct device *dev)
{
@@ -58,7 +58,7 @@ EXPORT_SYMBOL_GPL(pm_generic_runtime_suspend);
 *
 * If PM operations are defined for the @dev's driver and they include
 * ->runtime_resume(), execute it and return its error code.  Otherwise,
 * return -EINVAL.
 * return 0.
 */
int pm_generic_runtime_resume(struct device *dev)
{