PM / Runtime: Correct documented return values for generic PM callbacks
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 24 Mar 2014 20:31:29 +0000 (21:31 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 26 Mar 2014 15:33:05 +0000 (16:33 +0100)
commit39c29f3dfc5bd9f40ae72f79e509e6cfbb22a50b
tree70cf39fa7fa6266d0b75cfa7fc61ada8dbfeb19d
parent91e63cc0352257352a134a242a69f5785e5ae6ee
PM / Runtime: Correct documented return values for generic PM callbacks

As of commit 05aa55dddb9ee4045c320661068bea78dad6a6e5 ("PM / Runtime:
Lenient generic runtime pm callbacks"), the generic power management
callbacks pm_generic_runtime_suspend() and pm_generic_runtime_resume()
return 0, not -EINVAL, if the device doesn't provide its own callbacks.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/power/runtime_pm.txt