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:
d12990f
)
mmc: sdhci-pxav3: remove unnecessary platform_set_drvdata() call
author
Jisheng Zhang
<jszhang@marvell.com>
Fri, 10 Mar 2017 03:17:31 +0000
(11:17 +0800)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:41:19 +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-pxav3.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/sdhci-pxav3.c
b/drivers/mmc/host/sdhci-pxav3.c
index d0f5c05fbc195fcf568d482efa0c5a41a0754a44..132670a612a0b17325a61c97853612aa985144d9 100644
(file)
--- a/
drivers/mmc/host/sdhci-pxav3.c
+++ b/
drivers/mmc/host/sdhci-pxav3.c
@@
-480,8
+480,6
@@
static int sdhci_pxav3_probe(struct platform_device *pdev)
goto err_add_host;
}
- platform_set_drvdata(pdev, host);
-
if (host->mmc->pm_caps & MMC_PM_WAKE_SDIO_IRQ)
device_init_wakeup(&pdev->dev, 1);