Skip to content
Commit 65ab96f6 authored by Andreas Fleig's avatar Andreas Fleig Committed by Rafael J. Wysocki
Browse files

ACPI / PM: Fix /proc/acpi/wakeup for devices w/o bus or parent



Fix /proc/acpi/wakeup for devices without bus or parent

This patch fixes printing the wakeup status for devices without a bus
or parent, such as laptop lid switches and sleep buttons. These devices
have an empty physical_node_list, because acpi_bind_one is never run
for them.

[rjw: White space and coding style.]
Signed-off-by: default avatarAndreas Fleig <andreasfleig@gmail.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 660b1113
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment