ACPI: PM: Let acpi_dev_pm_attach() skip devices without ACPI PM

It is pointless to attach the generic ACPI PM domain to devices whose
ACPI companions don't support ACPI power management and don't have a
wakeup GPE, so update acpi_dev_pm_attach() to skip such devices.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/5050298.GXAFRqVoOG@rafael.j.wysocki
This commit is contained in:
Rafael J. Wysocki 2026-01-10 12:57:00 +01:00
commit 88fad6ce09