diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-12-20 23:36:45 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-03 12:09:38 (GMT) |
commit | 47525cda88f5cc4dbe24de1cc05617c08e2d7c4a (patch) | |
tree | f9dd5a239d338045e49894c190bc3a540693f40d /drivers/acpi/container.c | |
parent | 4002bf384cc567a843a7d16c95db54a7d77b16c6 (diff) | |
download | linux-47525cda88f5cc4dbe24de1cc05617c08e2d7c4a.tar.xz |
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 <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/container.c')
0 files changed, 0 insertions, 0 deletions