projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e7068d
)
pata_platform: utilize common ata_platform_remove_one()
author
Brian Norris
<computersforpeace@gmail.com>
Fri, 2 Nov 2012 07:46:23 +0000
(
00:46
-0700)
committer
Jeff Garzik
<jgarzik@redhat.com>
Mon, 3 Dec 2012 10:15:24 +0000
(
05:15
-0500)
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_platform.c
patch
|
blob
|
history
diff --git
a/drivers/ata/pata_platform.c
b/drivers/ata/pata_platform.c
index
f1848ae
..
449aa29
100644
(file)
--- 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,