diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-12-21 00:36:44 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-03 13:09:38 +0100 |
commit | 4002bf384cc567a843a7d16c95db54a7d77b16c6 (patch) | |
tree | f4652320c6ca43960d71ec520ac055a335a0dbe0 /drivers/acpi/sbshc.c | |
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>
Diffstat (limited to 'drivers/acpi/sbshc.c')
0 files changed, 0 insertions, 0 deletions