Rafael J. Wysocki b8bd759acd ACPI / scan: Drop acpi_bus_add() and use acpi_bus_scan() instead
The only difference between acpi_bus_scan() and acpi_bus_add() is the
invocation of acpi_update_all_gpes() in the latter which in fact is
unnecessary, because acpi_update_all_gpes() has already been called
by acpi_scan_init() and the way it is implemented guarantees the next
invocations of it to do nothing.

For this reason, drop acpi_bus_add() and make all its callers use
acpi_bus_scan() directly instead of it.  Additionally, rearrange the
code in acpi_scan_init() slightly to improve the visibility of the
acpi_update_all_gpes() call in there.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
2013-01-19 01:27:35 +01:00
..
2012-11-28 13:16:47 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2012-07-24 12:59:30 +02:00
2012-07-24 12:59:30 +02:00
2012-11-30 17:47:25 +01:00
2008-06-10 14:37:03 -07:00
2005-04-16 15:20:36 -07:00
2011-01-10 08:51:44 -08:00
2012-06-20 17:28:53 -06:00