From: Rafael J. Wysocki Date: Thu, 24 Jan 2013 11:50:09 +0000 (+0100) Subject: ACPI / PM: Expose current status of ACPI power resources X-Git-Tag: v3.9-rc1~146^2~10^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1c0f99bfb89cd9b42e3119ab822a8102fa87909;p=pandora-kernel.git 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 Acked-by: Greg Kroah-Hartman --- Reading git-diff-tree failed