From: Rafael J. Wysocki Date: Tue, 22 Jan 2013 11:56:16 +0000 (+0100) Subject: ACPI / PM: Sanitize checks in acpi_power_on_resources() X-Git-Tag: v3.9-rc1~146^2~10^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87e753b0065f94314ebdacf6593a172cdd7839c8;p=pandora-kernel.git ACPI / PM: Sanitize checks in acpi_power_on_resources() After the only user of acpi_power_on_resources(), acpi_bus_init_power(), has been changed to avoid calling it for state equal to ACPI_STATE_D3_COLD, it doesn't have to special case that state any more. For this reason, modify the checks in acpi_power_on_resources() so that it returns -EINVAL for ACPI_STATE_D3_COLD as it should. Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed