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:
156f34d
)
pata_palmld: utilize common ata_platform_remove_one()
author
Brian Norris
<computersforpeace@gmail.com>
Fri, 2 Nov 2012 07:46:25 +0000
(
00:46
-0700)
committer
Jeff Garzik
<jgarzik@redhat.com>
Mon, 3 Dec 2012 10:15:35 +0000
(
05:15
-0500)
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_palmld.c
patch
|
blob
|
history
diff --git
a/drivers/ata/pata_palmld.c
b/drivers/ata/pata_palmld.c
index
5ff31b6
..
f9f79fc
100644
(file)
--- a/
drivers/ata/pata_palmld.c
+++ b/
drivers/ata/pata_palmld.c
@@
-111,9
+111,7
@@
err1:
static __devexit int palmld_pata_remove(struct platform_device *dev)
{
- struct ata_host *host = platform_get_drvdata(dev);
-
- ata_host_detach(host);
+ ata_platform_remove_one(dev);
/* power down the HDD */
gpio_set_value(GPIO_NR_PALMLD_IDE_PWEN, 0);