[Update][PATCH 3/6] ACPI: Make acpi_bus_add() and acpi_bus_start() visibly different

2012-12-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Subject: ACPI: Make acpi_bus_add() and acpi_bus_start() visibly different The current ACPI namespace scanning code suggests that acpi_bus_add() and acpi_bus_start() share some code. In fact, however, they are completely different code paths (except for the initial checks)

[PATCH 3/6] ACPI: Make acpi_bus_add() and acpi_bus_start() visibly different

2012-12-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The current ACPI namespace scanning code suggests that acpi_bus_add() and acpi_bus_start() share some code. In fact, however, they are completely different code paths, so refactor the code to make that distinction visibly clear. Signed-off-by: Rafael J. Wysocki --- dri