[PATCH openEuler-5.10 442/557] PM: core: keep irq flags in device_pm_check_callbacks()