On Fri, May 09, 2025 at 03:02:27PM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx> > > Introduce pm_suspend_in_progress() to be used for checking if a system- > wide suspend or resume transition is in progress, instead of comparing > pm_suspend_target_state directly to PM_SUSPEND_ON, and use it where > applicable. > > No intentional functional impact. > > Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx> Reviewed-by: Raag Jadav <raag.jadav@xxxxxxxxx>