projects
/
GitHub
/
LineageOS
/
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:
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
|
blame
|
history
diff --git
a/drivers/mmc/host/sdhci-pxav2.c
b/drivers/mmc/host/sdhci-pxav2.c
index 80513f54e9d419a5680bab3a72d2b664d5edd498..995083ce1c4654eb9d7d373c2d4b85cba31a09a8 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: