Commit 4d25a292 authored by Paul Barker's avatar Paul Barker Committed by Greg Kroah-Hartman
Browse files

Documentation: PM: Clarify pm_runtime_resume_and_get() return value



[ Upstream commit ccb84dc8 ]

Update the documentation to match the behaviour of the code.

pm_runtime_resume_and_get() always returns 0 on success, even if
__pm_runtime_resume() returns 1.

Fixes: 2c412337 ("PM: runtime: Add documentation for pm_runtime_resume_and_get()")
Signed-off-by: default avatarPaul Barker <paul.barker.ct@bp.renesas.com>
Link: https://patch.msgid.link/20241203143729.478-1-paul.barker.ct@bp.renesas.com


[ rjw: Subject and changelog edits, adjusted new comment formatting ]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent a52ac1d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment