OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d36f47c
)
mmc: sdhci-pxav2: remove unnecessary platform_set_drvdata() call
author
Jisheng Zhang
<jszhang@marvell.com>
Fri, 10 Mar 2017 03:17:32 +0000
(11:17 +0800)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:41:20 +0000
(21:41 +0200)
sdhci_pltfm_init() has already set the platform drvdata for us, remove
the unnecessary platform_set_drvdata() call.
Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pxav2.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/sdhci-pxav2.c
b/drivers/mmc/host/sdhci-pxav2.c
index
80513f5
..
995083c
100644
(file)
--- a/
drivers/mmc/host/sdhci-pxav2.c
+++ b/
drivers/mmc/host/sdhci-pxav2.c
@@
-226,8
+226,6
@@
static int sdhci_pxav2_probe(struct platform_device *pdev)
goto err_add_host;
}
- platform_set_drvdata(pdev, host);
-
return 0;
err_add_host: