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:
0fe98fa
)
ata: samsung_cf: cut drvdata assignment
author
Linus Walleij
<linus.walleij@linaro.org>
Tue, 30 May 2017 09:46:43 +0000
(11:46 +0200)
committer
Tejun Heo
<tj@kernel.org>
Tue, 30 May 2017 15:54:37 +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_samsung_cf.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/pata_samsung_cf.c
b/drivers/ata/pata_samsung_cf.c
index 431c7de30ce64ebd431ddaf01ca87c2127debfad..50801c40b0295229ecc82d7ce52b849f9ac513f1 100644
(file)
--- a/
drivers/ata/pata_samsung_cf.c
+++ b/
drivers/ata/pata_samsung_cf.c
@@
-582,8
+582,6
@@
static int __init pata_s3c_probe(struct platform_device *pdev)
/* Set endianness and enable the interface */
pata_s3c_hwinit(info, pdata);
- platform_set_drvdata(pdev, host);
-
ret = ata_host_activate(host, info->irq,
info->irq ? pata_s3c_irq : NULL,
0, &pata_s3c_sht);