mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-14 17:14:09 +00:00
pata_platform: utilize common ata_platform_remove_one()
Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
parent
3e7068da11
commit
ccd1196a92
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user