PCI/ACPI: Remove acpi_root_driver in reverse order
authorYinghai Lu <yinghai@kernel.org>
Tue, 30 Oct 2012 20:31:52 +0000 (14:31 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 3 Nov 2012 22:26:37 +0000 (16:26 -0600)
commitf426cef3bc58806284e0fee55d29262b10279f9c
tree41c7f7fd60b5aa01979eb8d05f771dddc36e3303
parent13b6a916409adbc47f3d13f9580be0bd413e446e
PCI/ACPI: Remove acpi_root_driver in reverse order

Call the sub-driver .remove() methods in the reverse order of the
.add() methods for symmetry.

[bhelgaas: changelog]
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/pci_root.c