msi_remove_pci_irq_vectors(dev);
- pci_cleanup_rom(dev);
for (i = 0; i < PCI_NUM_RESOURCES; i++) {
struct resource *res = dev->resource + i;
if (res->parent)
static void pci_destroy_dev(struct pci_dev *dev)
{
pci_proc_detach_device(dev);
- pci_remove_sysfs_dev_files(dev);
device_unregister(&dev->dev);
/* Remove the device from the device lists, and prevent any further