From: Rafael J. Wysocki Date: Thu, 17 Jan 2013 13:11:07 +0000 (+0100) Subject: ACPI / scan: Consolidate extraction of power resources lists X-Git-Tag: v3.9-rc1~146^2~10^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef85bdbec444b42775a18580c6bfe1307a63ef0f;p=pandora-kernel.git ACPI / scan: Consolidate extraction of power resources lists The lists of ACPI power resources are currently extracted in two different ways, one for wakeup power resources and one for power resources that device power states depend on. There is no reason why it should be done differently in those two cases, so introduce a common routine for extracting power resources lists from data returned by AML, acpi_extract_power_resources(), and make the namespace scanning code use it for both wakeup and device power states power resources. Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed