diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-24 12:50:09 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-24 12:50:09 +0100 |
commit | b1c0f99bfb89cd9b42e3119ab822a8102fa87909 (patch) | |
tree | 4a6f07a25ca239bb579cc583c67b92ab451d40b7 /fs/sysfs/sysfs.h | |
parent | 836aedb1414d4724b2ec68dd19810960c593720c (diff) |
ACPI / PM: Expose current status of ACPI power resources
Since ACPI power resources are going to be used more extensively on
new hardware platforms, it becomes necessary for user space (powertop
in particular) to observe some properties of those resources for
diagnostics purposes.
For this reason, expose the current status of each ACPI power
resource to user space via sysfs by adding a new resource_in_use
attribute to the sysfs directory representing the given power
resource.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/sysfs/sysfs.h')
0 files changed, 0 insertions, 0 deletions