From: Rafael J. Wysocki Date: Thu, 31 Jan 2013 19:54:05 +0000 (+0100) Subject: ACPI / scan: Fix acpi_bus_get_device() check in acpi_match_device() X-Git-Tag: v3.9-rc1~146^2~12^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0613e1f7fd98a0cef2a7add1368a87cdd86a1106;p=pandora-kernel.git ACPI / scan: Fix acpi_bus_get_device() check in acpi_match_device() Since acpi_bus_get_device() returns int and not acpi_status, change acpi_match_device() so that it doesn't apply ACPI_FAILURE() to the return value of acpi_bus_get_device(). Signed-off-by: Rafael J. Wysocki Acked-by: Yasuaki Ishimatsu Acked-by: Yinghai Lu Reviewed-by: Mika Westerberg --- Reading git-diff-tree failed