From: Rafael J. Wysocki Date: Thu, 20 Dec 2012 23:36:45 +0000 (+0100) Subject: ACPI / PCI: Fold acpi_pci_root_start() into acpi_pci_root_add() X-Git-Tag: v3.9-rc1~146^2~12^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47525cda88f5cc4dbe24de1cc05617c08e2d7c4a;p=pandora-kernel.git ACPI / PCI: Fold acpi_pci_root_start() into acpi_pci_root_add() Move the code from the ACPI PCI root bridge's .start() callback routine, acpi_pci_root_start(), directly into acpi_pci_root_add() and drop acpi_pci_root_start(). It is safe to do that, because it is now always guaranteed that when struct pci_dev objects are created, their companion struct acpi_device objects are already present, so it is not necessary to wait for them to be created before calling pci_bus_add_devices(). This change was previously proposed in a different form by Yinghai Lu. Signed-off-by: Rafael J. Wysocki Acked-by: Yinghai Lu Acked-by: Toshi Kani --- Reading git-diff-tree failed