Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344429
b: refs/heads/master
c: 3e7068d
h: refs/heads/master
i:
  344427: 8de8615
v: v3
  • Loading branch information
Brian Norris authored and Jeff Garzik committed Dec 3, 2012
1 parent 427e7c5 commit aa81542
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 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: 37e1b022bf1c54daf6849deffb65322299493702
refs/heads/master: 3e7068da1194543fb4841072838b967e576adc55
7 changes: 1 addition & 6 deletions trunk/drivers/ata/pata_of_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,6 @@ static int __devinit pata_of_platform_probe(struct platform_device *ofdev)
reg_shift, pio_mask);
}

static int __devexit pata_of_platform_remove(struct platform_device *ofdev)
{
return __pata_platform_remove(&ofdev->dev);
}

static struct of_device_id pata_of_platform_match[] = {
{ .compatible = "ata-generic", },
{ .compatible = "electra-ide", },
Expand All @@ -95,7 +90,7 @@ static struct platform_driver pata_of_platform_driver = {
.of_match_table = pata_of_platform_match,
},
.probe = pata_of_platform_probe,
.remove = __devexit_p(pata_of_platform_remove),
.remove = ata_platform_remove_one,
};

module_platform_driver(pata_of_platform_driver);
Expand Down

0 comments on commit aa81542

Please sign in to comment.