Skip to content

Commit d36f47c

Browse files
Jisheng Zhangstorulf
authored andcommitted
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>
1 parent d12990f commit d36f47c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/mmc/host/sdhci-pxav3.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,8 +480,6 @@ static int sdhci_pxav3_probe(struct platform_device *pdev)
480480
goto err_add_host;
481481
}
482482

483-
platform_set_drvdata(pdev, host);
484-
485483
if (host->mmc->pm_caps & MMC_PM_WAKE_SDIO_IRQ)
486484
device_init_wakeup(&pdev->dev, 1);
487485

0 commit comments

Comments
 (0)