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:
0092faf
)
mmc: sdhci-st: remove unnecessary platform_set_drvdata() call
author
Jisheng Zhang
<jszhang@marvell.com>
Fri, 10 Mar 2017 03:17:33 +0000
(11:17 +0800)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:41:21 +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>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-st.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/sdhci-st.c
b/drivers/mmc/host/sdhci-st.c
index ed92ce729dde1d60b91ce5395e1802816cca448b..7fff6490855cf9bc64ee223856ec7e3f762c60c6 100644
(file)
--- a/
drivers/mmc/host/sdhci-st.c
+++ b/
drivers/mmc/host/sdhci-st.c
@@
-418,8
+418,6
@@
static int sdhci_st_probe(struct platform_device *pdev)
goto err_out;
}
- platform_set_drvdata(pdev, host);
-
host_version = readw_relaxed((host->ioaddr + SDHCI_HOST_VERSION));
dev_info(&pdev->dev, "SDHCI ST Initialised: Host Version: 0x%x Vendor Version 0x%x\n",