OSDN Git Service

ACPI / PM: Expose lists of device wakeup power resources to user space
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 11 Apr 2013 20:41:48 +0000 (22:41 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 11 Apr 2013 20:41:48 +0000 (22:41 +0200)
commit41a2a4665d401f79912a3da83ff9ef3e502bc12e
treec1183d82f60df38205921e293a022d47d90268b2
parent75eb2d13acca49c3c4f1c96fb04d6c9fd6013e78
ACPI / PM: Expose lists of device wakeup power resources to user space

Commit 18a3870 (ACPI / PM: Expose lists of device power resources
to user space) exposed the lists of ACPI power resources associated
with power states of ACPI devices, but it didn't expose the lists
of ACPI wakeup power resources, which also is necessary to get the
full picture of dependencies between ACPI devices and power
resources.

For this reason, for every ACPI device node having a list of ACPI
wakeup power resources associated with it, expose that list to user
space in analogy with commit 18a3870.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/ABI/testing/sysfs-devices-power_resources_wakeup [new file with mode: 0644]
drivers/acpi/power.c