static void __devexit pdc202new_remove(struct pci_dev *dev) { struct ide_host *host = pci_get_drvdata(dev); struct pci_dev *dev2 = host->dev[1] ? to_pci_dev(host->dev[1]) : NULL; ide_pci_remove(dev); pci_dev_put(dev2); }
static void __devexit siimage_remove(struct pci_dev *dev) { struct ide_host *host = pci_get_drvdata(dev); void __iomem *ioaddr = host->host_priv; ide_pci_remove(dev); if (ioaddr) { resource_size_t bar5 = pci_resource_start(dev, 5); unsigned long barsize = pci_resource_len(dev, 5); iounmap(ioaddr); release_mem_region(bar5, barsize); } pci_disable_device(dev); }
static void __devexit sis5513_remove(struct pci_dev *dev) { ide_pci_remove(dev); pci_disable_device(dev); }
static void __devexit tc86c001_remove(struct pci_dev *dev) { ide_pci_remove(dev); pci_release_region(dev, 5); pci_disable_device(dev); }
static void rz1000_remove(struct pci_dev *dev) { ide_pci_remove(dev); pci_disable_device(dev); }
static void __devexit aec62xx_remove(struct pci_dev *dev) { ide_pci_remove(dev); pci_disable_device(dev); }