From: Shaohua Li Date: Tue, 17 Jul 2007 20:40:25 +0000 (+0200) Subject: ACPI: Add acpi_pm_device_sleep_state helper routine X-Git-Tag: v2.6.23-rc2~273^2~1^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd4aff1a28eecbd729b409bf7d3eff5948f20414;p=pandora-kernel.git ACPI: Add acpi_pm_device_sleep_state helper routine Based on the David Brownell's patch at http://marc.info/?l=linux-acpi&m=117873972806360&w=2 updated by: Rafael J. Wysocki Add a helper routine returning the lowest power (highest number) ACPI device power state that given device can be in while the system is in the sleep state indicated by acpi_target_sleep_state . Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Len Brown --- Reading git-diff-tree failed