/* Remove PCI Express port service devices associated with given port and disable MSI-X or MSI for the port.  */
void pcie_port_device_remove(struct pci_dev *dev)
/* Remove PCI Express port service devices associated with given port and disable MSI-X or MSI for the port.  */
void pcie_port_device_remove(struct pci_dev *dev)
{
	device_for_each_child(&dev->dev, NULL, remove_iter);
	cleanup_service_irqs(dev);
	pci_disable_device(dev);
}