Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

PCI: pciehp: Remove pci_configure_slot() usage

We now configure each PCI device as it is enumerated, in pci_device_add(),
so remove the configuration done in pciehp.

That configuration, in pci_configure_device(), does not include the
MPS/MRRS configuration done by pcie_bus_configure_settings(), so keep
that here.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>

+1 -4
+1 -4
drivers/pci/hotplug/pciehp_pci.c
··· 65 65 pci_hp_add_bridge(dev); 66 66 67 67 pci_assign_unassigned_bridge_resources(bridge); 68 - 69 - list_for_each_entry(dev, &parent->devices, bus_list) 70 - pci_configure_slot(dev); 71 - 68 + pcie_bus_configure_settings(parent); 72 69 pci_bus_add_devices(parent); 73 70 74 71 out: