Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344427
b: refs/heads/master
c: 58d0ff2
h: refs/heads/master
i:
  344425: cbe6324
  344423: f56e995
v: v3
  • Loading branch information
Brian Norris authored and Jeff Garzik committed Dec 3, 2012
1 parent 035aaab commit 8de8615
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 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: 83291d65cbeadda2bd600b6c500df7046dcd6fa9
refs/heads/master: 58d0ff2f05d6915c455b5fe7c404e299fe34993b
11 changes: 1 addition & 10 deletions trunk/drivers/ata/pata_ixp4xx_cf.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,22 +187,13 @@ static __devinit int ixp4xx_pata_probe(struct platform_device *pdev)
return ata_host_activate(host, irq, ata_sff_interrupt, 0, &ixp4xx_sht);
}

static __devexit int ixp4xx_pata_remove(struct platform_device *dev)
{
struct ata_host *host = platform_get_drvdata(dev);

ata_host_detach(host);

return 0;
}

static struct platform_driver ixp4xx_pata_platform_driver = {
.driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,
},
.probe = ixp4xx_pata_probe,
.remove = __devexit_p(ixp4xx_pata_remove),
.remove = ata_platform_remove_one,
};

module_platform_driver(ixp4xx_pata_platform_driver);
Expand Down

0 comments on commit 8de8615

Please sign in to comment.