pci_stop_and_remove_bus_device (9) - Linux Manuals
pci_stop_and_remove_bus_device: remove a PCI device and any children
pci_stop_and_remove_bus_device - remove a PCI device and any children
void pci_stop_and_remove_bus_device(struct pci_dev
- the device to remove
Remove a PCI device from the device lists, informing the drivers that the device has been removed. We also remove any subordinate buses and children in a depth-first manner.