]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
PM: runtime: Add new devm functions
authorBence Csókás <csokas.bence@prolan.hu>
Mon, 20 Oct 2025 13:03:47 +0000 (09:03 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Oct 2025 13:04:40 +0000 (14:04 +0100)
commit4dd3678c946a6aa07cdce36eb9fb6103b67b4665
treec9ff67d87458b4ac142b037222c1d4af4b4f3291
parent7c118d0cefa503035b1de825c150214a52ab51a8
PM: runtime: Add new devm functions

[ Upstream commit 73db799bf5efc5a04654bb3ff6c9bf63a0dfa473 ]

Add `devm_pm_runtime_set_active_enabled()` and
`devm_pm_runtime_get_noresume()` for simplifying
common cases in drivers.

Signed-off-by: Bence Csókás <csokas.bence@prolan.hu>
Link: https://patch.msgid.link/20250327195928.680771-3-csokas.bence@prolan.hu
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Stable-dep-of: 0792c1984a45 ("iio: imu: inv_icm42600: Simplify pm_runtime setup")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/power/runtime.c
include/linux/pm_runtime.h