diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-24 12:49:59 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-24 12:49:59 +0100 |
commit | 836aedb1414d4724b2ec68dd19810960c593720c (patch) | |
tree | 4f826283e16638ba521f5d31b021d79166cfde99 /include/acpi | |
parent | ACPI / scan: Prevent device add uevents from racing with user space (diff) | |
download | linux-836aedb1414d4724b2ec68dd19810960c593720c.tar.xz linux-836aedb1414d4724b2ec68dd19810960c593720c.zip |
ACPI / PM: Expose power states of ACPI devices to user space
Make it possible to retrieve the current power state of a device with
ACPI power management from user space via sysfs by adding two new
attributes, power_state and real_power_state, to the sysfs directory
associated with the struct acpi_device object representing the
device's ACPI node.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/acpi')
0 files changed, 0 insertions, 0 deletions