From: Rafael J. Wysocki Date: Thu, 6 Jan 2011 22:41:27 +0000 (+0100) Subject: ACPI: Drop device flag wake_capable X-Git-Tag: v2.6.38-rc1~68^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d57d09a480e1db38eeee7629c81289b00f338a15;p=pandora-kernel.git ACPI: Drop device flag wake_capable The wake_capable ACPI device flag is not necessary, because it is only used in scan.c for recording the information that _PRW is present for the given device. That information is only used by acpi_add_single_object() to decide whether or not to call acpi_bus_get_wakeup_device_flags(), so the flag may be dropped if the _PRW check is moved to acpi_bus_get_wakeup_device_flags(). Moreover, acpi_bus_get_wakeup_device_flags() always returns 0, so it really should be void. Signed-off-by: Rafael J. Wysocki Signed-off-by: Len Brown --- Reading git-diff-tree failed