On Fri, Jun 24, 2022 at 01:48:58PM +0200, Geert Uytterhoeven wrote: > On Fri, Jun 24, 2022 at 1:27 PM Arnd Bergmann <arnd@xxxxxxxx> wrote: > > On Fri, Jun 24, 2022 at 12:17 PM Phil Edworthy > > <phil.edworthy@xxxxxxxxxxx> wrote: ... > > Remove the #ifdef here, and use the new NOIRQ_SYSTEM_SLEEP_PM_OPS() > > in place of SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(). > > Cool, TIL! There are also pm_ptr() and pm_sleep_ptr() macros (need to be used when assign dev_pm_ops). -- With Best Regards, Andy Shevchenko