diff options
author | Jisheng Zhang <jszhang@marvell.com> | 2017-03-10 04:17:32 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-04-24 21:41:20 +0200 |
commit | 0092faf5a871db6b6d730bf54c0ad28575edfb6a (patch) | |
tree | a9b97c1fcd61c1a7eb7e52bcd888c1000429e05e | |
parent | mmc: sdhci-pxav3: remove unnecessary platform_set_drvdata() call (diff) | |
download | linux-0092faf5a871db6b6d730bf54c0ad28575edfb6a.tar.xz linux-0092faf5a871db6b6d730bf54c0ad28575edfb6a.zip |
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>
-rw-r--r-- | drivers/mmc/host/sdhci-pxav2.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci-pxav2.c b/drivers/mmc/host/sdhci-pxav2.c index 80513f54e9d4..995083ce1c46 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: |