linux/drivers/pci/pcie
Eric W. Biederman ae40582e99 PCI: pcie_portdriver: fix pcie_port_device_remove
pcie_port_device_remove currently calls the remove method of port
drivers twice.  Ouch!

We are calling device_for_each_child multiple times for no apparent
reason.

So make it simple. Place put_device and device_unregister into
remove_iter, and throw out the rest.  Only call device_for_each_child
once.

The code is simpler and actually works!

Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-03-20 10:47:33 -07:00
..
aer PCI/ACPI: rename pci_osc_control_set() 2009-03-19 19:29:33 -07:00
aspm.c PCI: properly clean up ASPM link state on device remove 2009-02-04 16:58:40 -08:00
Kconfig PCI Express ASPM support should default to 'No' 2008-04-23 15:41:14 -07:00
Makefile PCI: add PCI Express ASPM support 2008-04-20 21:47:03 -07:00
portdrv_bus.c PCI: PCIe portdrv: Remove struct pcie_port_service_id 2009-03-19 19:29:23 -07:00
portdrv_core.c PCI: pcie_portdriver: fix pcie_port_device_remove 2009-03-20 10:47:33 -07:00
portdrv_pci.c PCI: PCIe portdrv: Remove unnecessary function 2009-03-19 19:29:22 -07:00
portdrv.h PCI/PCIe portdrv: Fix allocation of interrupts 2009-03-19 19:29:25 -07:00