Loading drivers/ata/ahci_platform.c +1 −11 Original line number Original line Diff line number Diff line Loading @@ -229,16 +229,6 @@ static int __devinit ahci_probe(struct platform_device *pdev) return rc; return rc; } } static int __devexit ahci_remove(struct platform_device *pdev) { struct device *dev = &pdev->dev; struct ata_host *host = dev_get_drvdata(dev); ata_host_detach(host); return 0; } static void ahci_host_stop(struct ata_host *host) static void ahci_host_stop(struct ata_host *host) { { struct device *dev = host->dev; struct device *dev = host->dev; Loading Loading @@ -343,7 +333,7 @@ MODULE_DEVICE_TABLE(of, ahci_of_match); static struct platform_driver ahci_driver = { static struct platform_driver ahci_driver = { .probe = ahci_probe, .probe = ahci_probe, .remove = __devexit_p(ahci_remove), .remove = ata_platform_remove_one, .driver = { .driver = { .name = "ahci", .name = "ahci", .owner = THIS_MODULE, .owner = THIS_MODULE, Loading Loading
drivers/ata/ahci_platform.c +1 −11 Original line number Original line Diff line number Diff line Loading @@ -229,16 +229,6 @@ static int __devinit ahci_probe(struct platform_device *pdev) return rc; return rc; } } static int __devexit ahci_remove(struct platform_device *pdev) { struct device *dev = &pdev->dev; struct ata_host *host = dev_get_drvdata(dev); ata_host_detach(host); return 0; } static void ahci_host_stop(struct ata_host *host) static void ahci_host_stop(struct ata_host *host) { { struct device *dev = host->dev; struct device *dev = host->dev; Loading Loading @@ -343,7 +333,7 @@ MODULE_DEVICE_TABLE(of, ahci_of_match); static struct platform_driver ahci_driver = { static struct platform_driver ahci_driver = { .probe = ahci_probe, .probe = ahci_probe, .remove = __devexit_p(ahci_remove), .remove = ata_platform_remove_one, .driver = { .driver = { .name = "ahci", .name = "ahci", .owner = THIS_MODULE, .owner = THIS_MODULE, Loading