projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bb9a39
)
ata: bf54x: cut drvdata assignment
author
Linus Walleij
<linus.walleij@linaro.org>
Tue, 30 May 2017 09:46:39 +0000
(11:46 +0200)
committer
Tejun Heo
<tj@kernel.org>
Tue, 30 May 2017 15:54:36 +0000
(11:54 -0400)
ata_host_alloc_pinfo() assigns the host pointer to the
struct device * drvdata, do not assign it a second time.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/pata_bf54x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/pata_bf54x.c
b/drivers/ata/pata_bf54x.c
index 9c5780a7e1b925dc668b6bade617d07c0bb0a2a2..0e55a8da274878e89f6f75d573570c77ac238e01 100644
(file)
--- a/
drivers/ata/pata_bf54x.c
+++ b/
drivers/ata/pata_bf54x.c
@@
-1597,8
+1597,6
@@
static int bfin_atapi_probe(struct platform_device *pdev)
return -ENODEV;
}
- platform_set_drvdata(pdev, host);
-
return 0;
}