diff options
author | Jisheng Zhang <jszhang@marvell.com> | 2017-03-10 04:17:31 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-04-24 21:41:19 +0200 |
commit | d36f47c54b297f22b766d31422b2044b08473924 (patch) | |
tree | 8c2137693f6bad710db6d59d400b2f718f78ed3c /drivers/mmc/host/sdhci-pxav3.c | |
parent | mmc: sdhci-cadence: add HS400 enhanced strobe support (diff) | |
download | linux-d36f47c54b297f22b766d31422b2044b08473924.tar.xz linux-d36f47c54b297f22b766d31422b2044b08473924.zip |
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.c | 2 |
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); |