]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / PM: Fix /proc/acpi/wakeup for devices w/o bus or parent
authorAndreas Fleig <andreasfleig@gmail.com>
Sun, 27 Jan 2013 14:17:55 +0000 (14:17 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 27 Jan 2013 20:40:11 +0000 (21:40 +0100)
commitf9d6c216f4ffaaf8f214ff5164be5f8e1d5fdd51
tree0bdc700c08ff7977c3850b97fba82401e5dc4221
parent5a83f02143693fcfd6712a4a72b16ecb047952e3
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>
drivers/acpi/proc.c