]> git.ipfire.org Git - thirdparty/linux.git/commit
PM: runtime: Make pm_runtime_barrier() return void
authorBrian Norris <briannorris@chromium.org>
Tue, 2 Dec 2025 19:30:25 +0000 (11:30 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 4 Dec 2025 19:38:13 +0000 (20:38 +0100)
commit41f7351fc47283822c4b70b0f42741f52cc1e6f6
treed3b7bc58f69e38f7afb97d8624a541b378549216
parent3df2470adc1ce91f19021109c83c6e497d362835
PM: runtime: Make pm_runtime_barrier() return void

No callers check the return code, and that's a good thing. Doing so
would be racy and unhelpful.

Drop the return code entirely, so we don't make anyone think about its
complexities.

Signed-off-by: Brian Norris <briannorris@chromium.org>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Link: https://patch.msgid.link/20251202193129.1411419-2-briannorris@chromium.org
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/power/runtime_pm.rst
drivers/base/power/runtime.c
include/linux/pm_runtime.h