commit | 4002bf384cc567a843a7d16c95db54a7d77b16c6 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Fri Dec 21 00:36:44 2012 +0100 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Thu Jan 03 13:09:38 2013 +0100 |
tree | f4652320c6ca43960d71ec520ac055a335a0dbe0 | |
parent | a2d06a1a0851fb3d7e775b9d878cdffb9e0300ee [diff] |
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 <rafael.j.wysocki@intel.com> Acked-by: Yinghai Lu <yinghai@kernel.org> Acked-by: Toshi Kani <toshi.kani@hp.com>