linux-stable/Documentation
Paul Barker 4d25a292a7 Documentation: PM: Clarify pm_runtime_resume_and_get() return value
[ Upstream commit ccb84dc8f4a02e7d30ffd388522996546b4d00e1 ]

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: 2c412337cfe6 ("PM: runtime: Add documentation for pm_runtime_resume_and_get()")
Signed-off-by: Paul 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: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-19 18:08:56 +01:00
..
2022-10-09 08:56:54 -07:00
2022-10-03 16:39:37 -07:00
2022-08-04 15:35:58 -07:00
2023-01-18 11:58:28 +01:00
2022-10-09 22:30:23 -07:00
2022-09-28 09:02:45 +02:00
2022-10-03 16:39:37 -07:00