Commit ccd1196a authored by Brian Norris's avatar Brian Norris Committed by Jeff Garzik

pata_platform: utilize common ata_platform_remove_one()

Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 3e7068da
...@@ -242,14 +242,9 @@ static int __devinit pata_platform_probe(struct platform_device *pdev) ...@@ -242,14 +242,9 @@ static int __devinit pata_platform_probe(struct platform_device *pdev)
pio_mask); pio_mask);
} }
static int __devexit pata_platform_remove(struct platform_device *pdev)
{
return __pata_platform_remove(&pdev->dev);
}
static struct platform_driver pata_platform_driver = { static struct platform_driver pata_platform_driver = {
.probe = pata_platform_probe, .probe = pata_platform_probe,
.remove = __devexit_p(pata_platform_remove), .remove = ata_platform_remove_one,
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment