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