Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344426
b: refs/heads/master
c: 83291d6
h: refs/heads/master
v: v3
  • Loading branch information
Brian Norris authored and Jeff Garzik committed Dec 3, 2012
1 parent cbe6324 commit 035aaab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b7db04d9264fca4b00e949da7b3180c50e243fca
refs/heads/master: 83291d65cbeadda2bd600b6c500df7046dcd6fa9
12 changes: 1 addition & 11 deletions trunk/drivers/ata/ahci_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,16 +229,6 @@ static int __devinit ahci_probe(struct platform_device *pdev)
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)
{
struct device *dev = host->dev;
Expand Down Expand Up @@ -343,7 +333,7 @@ MODULE_DEVICE_TABLE(of, ahci_of_match);

static struct platform_driver ahci_driver = {
.probe = ahci_probe,
.remove = __devexit_p(ahci_remove),
.remove = ata_platform_remove_one,
.driver = {
.name = "ahci",
.owner = THIS_MODULE,
Expand Down

0 comments on commit 035aaab

Please sign in to comment.