]> git.baikalelectronics.ru Git - kernel.git/commit
PM: runtime: Clarify documentation when callbacks are unassigned
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 9 Jun 2021 10:06:10 +0000 (12:06 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 11 Jun 2021 17:04:07 +0000 (19:04 +0200)
commitfc3495e38a041fdb82790c2af00d9d9a6fb407c3
tree63e4cc76e0df069ac1eed5c085e80f89158913b6
parenta41e9b5b47ba035fd04a3f32614997d55ee29395
PM: runtime: Clarify documentation when callbacks are unassigned

Recent changes to the PM core allows ->runtime_suspend|resume callbacks to
be unassigned.

In the earlier behaviour the PM core would return -ENOSYS, when trying to
runtime resume a device, for example. Let's update the documentation to
clarify this.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/power/runtime_pm.rst