summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-12-15 13:49:17 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-12-17 13:52:53 +0100
commit057edc58aa5926d63840c7f30afe0953d3994fa3 (patch)
tree2bdf8ee40c70455a9e7f5a429fbb106edd2735da /include
parentd8a872c810916714067e2089c68d2fd0e65da43c (diff)
ACPI: PM: Register wakeup sources under physical devices
Currently, acpi_add_pm_notifier() registers wakeup sources under ACPI companions of the devices affected by the handling of wakeup events which goes against the rule that a struct acpi_device can only be a parent of another struct acpi_device. Moreover, it would be more logically consistent to register wakeup sources under the devices affected by wakeup events handling which would cause them to appear in more suitable places in sysfs and would help to identify the devices they are associated with more easily. Accordingly, update acpi_add_pm_notifier() to register wakeup sources under the "target" devices directly instead of registering them under the ACPI companions of those devices. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Armin Wolf <W_Armin@gmx.de> Link: https://patch.msgid.link/1944126.tdWV9SEqCh@rafael.j.wysocki
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions