From: Rafael J. Wysocki Date: Sun, 16 Dec 2012 22:28:53 +0000 (+0100) Subject: ACPI / PM: Do not apply ACPI_SUCCESS() to acpi_bus_get_device() result X-Git-Tag: v3.8-rc3~9^2~4^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cc36c724eb60b5e5457807f3230e5bb5454e4d0;p=pandora-kernel.git ACPI / PM: Do not apply ACPI_SUCCESS() to acpi_bus_get_device() result Since the return value of acpi_bus_get_device() is not of type acpi_status, ACPI_SUCCESS() should not be used for checking its return value. Fix that. Signed-off-by: Rafael J. Wysocki Reviewed-by: Mika Westerberg --- Reading git-diff-tree failed