Skip to content

Commit 0092faf

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

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/mmc/host/sdhci-pxav2.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,6 @@ static int sdhci_pxav2_probe(struct platform_device *pdev)
226226
goto err_add_host;
227227
}
228228

229-
platform_set_drvdata(pdev, host);
230-
231229
return 0;
232230

233231
err_add_host:

0 commit comments

Comments
 (0)