summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/sdhci-pxav2.c
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@marvell.com>2017-03-10 06:17:32 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2017-04-24 22:41:20 +0300
commit0092faf5a871db6b6d730bf54c0ad28575edfb6a (patch)
treea9b97c1fcd61c1a7eb7e52bcd888c1000429e05e /drivers/mmc/host/sdhci-pxav2.c
parentd36f47c54b297f22b766d31422b2044b08473924 (diff)
downloadlinux-0092faf5a871db6b6d730bf54c0ad28575edfb6a.tar.xz
mmc: sdhci-pxav2: remove unnecessary platform_set_drvdata() call
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>
Diffstat (limited to 'drivers/mmc/host/sdhci-pxav2.c')
-rw-r--r--drivers/mmc/host/sdhci-pxav2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci-pxav2.c b/drivers/mmc/host/sdhci-pxav2.c
index 80513f54e9d4..995083ce1c46 100644
--- 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: