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)
commit4ec4f059088b48585c337328e05fa930c64d1ba8
tree63e4cc76e0df069ac1eed5c085e80f89158913b6
parent63d00be69348fda431ae59aba6af268a5cf5058e
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