From: Rafael J. Wysocki Date: Wed, 13 Nov 2013 23:54:00 +0000 (+0100) Subject: ACPI / hotplug: Fix acpi_bus_get_device() return value check X-Git-Tag: v3.13-rc1~28^2~8^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5beaee4f195d0297473da9a45459050b561e10cf;p=pandora-kernel.git ACPI / hotplug: Fix acpi_bus_get_device() return value check Since acpi_bus_get_device() returns a plain int and not acpi_status, ACPI_FAILURE() should not be used for checking its return value. Fix that. Signed-off-by: Rafael J. Wysocki Acked-by: Toshi Kani --- Reading git-diff-tree failed