提交 0092faf5 编写于 作者: J Jisheng Zhang 提交者: Ulf Hansson

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: NJisheng Zhang <jszhang@marvell.com>
Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
上级 d36f47c5
...@@ -226,8 +226,6 @@ static int sdhci_pxav2_probe(struct platform_device *pdev) ...@@ -226,8 +226,6 @@ static int sdhci_pxav2_probe(struct platform_device *pdev)
goto err_add_host; goto err_add_host;
} }
platform_set_drvdata(pdev, host);
return 0; return 0;
err_add_host: err_add_host:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册