From: Rafael J. Wysocki Date: Thu, 20 Dec 2012 23:36:44 +0000 (+0100) Subject: ACPI: Change the ordering of acpi_bus_check_add() X-Git-Tag: v3.9-rc1~146^2~12^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4002bf384cc567a843a7d16c95db54a7d77b16c6;p=pandora-kernel.git ACPI: Change the ordering of acpi_bus_check_add() If acpi_bus_check_add() is called for a handle already having an existing struct acpi_device object attached, it is not necessary to check the type and status of the device correspondig to it, so change the ordering of acpi_bus_check_add() to avoid that. Signed-off-by: Rafael J. Wysocki Acked-by: Yinghai Lu Acked-by: Toshi Kani --- Reading git-diff-tree failed