summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/sdhci-pxav3.c
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@marvell.com>2017-03-10 06:17:31 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2017-04-24 22:41:19 +0300
commitd36f47c54b297f22b766d31422b2044b08473924 (patch)
tree8c2137693f6bad710db6d59d400b2f718f78ed3c /drivers/mmc/host/sdhci-pxav3.c
parentd12990f9900f49e7f834b0d2cf6ccebcf4cb698f (diff)
downloadlinux-d36f47c54b297f22b766d31422b2044b08473924.tar.xz
mmc: sdhci-pxav3: 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-pxav3.c')
-rw-r--r--drivers/mmc/host/sdhci-pxav3.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c
index d0f5c05fbc19..132670a612a0 100644
--- 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);