sst-linux/Documentation/power
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: 2c412337cf ("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
..
powercap
regulator
apm-acpi.rst
basic-pm-debugging.rst
charger-manager.rst
drivers-testing.rst
energy-model.rst
freezing-of-tasks.rst
index.rst
opp.rst
pci.rst
pm_qos_interface.rst
power_supply_class.rst
runtime_pm.rst
s2ram.rst
suspend-and-cpuhotplug.rst
suspend-and-interrupts.rst
swsusp-and-swap-files.rst
swsusp-dmcrypt.rst
swsusp.rst
tricks.rst
userland-swsusp.rst
video.rst