Re: [PATCH] pm: runtime: Add new devm functions

From: Greg Kroah-Hartman
Date: Wed Jan 15 2025 - 03:03:17 EST


On Tue, Jan 14, 2025 at 11:28:49PM +0100, Bence Csókás wrote:
> Add `devm_pm_runtime_set_active()` and
> `devm_pm_runtime_get_noresume()` for
> simplifying common use cases in drivers.
>
> Signed-off-by: Bence Csókás <csokas.bence@xxxxxxxxx>
> ---
> drivers/base/power/runtime.c | 36 ++++++++++++++++++++++++++++++++++++
> include/linux/pm_runtime.h | 4 ++++
> 2 files changed, 40 insertions(+)

We can't take new apis without actual users, sorry. Please submit this
as part of a patch series that uses it so we can verify that it actually
works properly.

thanks,

greg k-h