From: Jisheng Zhang Date: Fri, 10 Mar 2017 03:17:32 +0000 (+0800) Subject: mmc: sdhci-pxav2: remove unnecessary platform_set_drvdata() call X-Git-Tag: v4.12-rc1~128^2~119 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0092faf5a871db6b6d730bf54c0ad28575edfb6a;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/host/sdhci-pxav2.c b/drivers/mmc/host/sdhci-pxav2.c index 80513f54e9d41..995083ce1c465 100644 --- a/drivers/mmc/host/sdhci-pxav2.c +++ b/drivers/mmc/host/sdhci-pxav2.c @@ -226,8 +226,6 @@ static int sdhci_pxav2_probe(struct platform_device *pdev) goto err_add_host; } - platform_set_drvdata(pdev, host); - return 0; err_add_host: