diff options
author | Brian Norris <computersforpeace@gmail.com> | 2012-11-02 00:46:23 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2012-12-03 05:15:24 -0500 |
commit | ccd1196a924a0fd64132297a121794c347f52d3a (patch) | |
tree | d40ffc50d44cf5c269e6e90fac1c82e64ac8abd9 /drivers/ata | |
parent | 3e7068da1194543fb4841072838b967e576adc55 (diff) |
pata_platform: utilize common ata_platform_remove_one()
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/pata_platform.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/ata/pata_platform.c b/drivers/ata/pata_platform.c index f1848aeda78..449aa29931b 100644 --- a/drivers/ata/pata_platform.c +++ b/drivers/ata/pata_platform.c @@ -242,14 +242,9 @@ static int __devinit pata_platform_probe(struct platform_device *pdev) 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 = { .probe = pata_platform_probe, - .remove = __devexit_p(pata_platform_remove), + .remove = ata_platform_remove_one, .driver = { .name = DRV_NAME, .owner = THIS_MODULE, |