[PATCH AUTOSEL 5.17 37/43] PM: core: keep irq flags in device_pm_check_callbacks()