[PATCH 5.4 287/475] PM: core: keep irq flags in device_pm_check_callbacks()