diff options
author | Andreas Fleig <andreasfleig@gmail.com> | 2013-01-27 14:17:55 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-27 21:40:11 +0100 |
commit | 65ab96f60621c4da8f1b4087a57b788bc4d8f27b (patch) | |
tree | 0bdc700c08ff7977c3850b97fba82401e5dc4221 /drivers/acpi/device_pm.c | |
parent | 660b1113e0f33a476952cb2cbcb5c9831e7ff4cd (diff) | |
download | op-kernel-dev-65ab96f60621c4da8f1b4087a57b788bc4d8f27b.zip op-kernel-dev-65ab96f60621c4da8f1b4087a57b788bc4d8f27b.tar.gz |
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: Andreas Fleig <andreasfleig@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/device_pm.c')
0 files changed, 0 insertions, 0 deletions