diff options
author | Jisheng Zhang <jszhang@marvell.com> | 2017-03-10 06:17:32 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-04-24 22:41:20 +0300 |
commit | 0092faf5a871db6b6d730bf54c0ad28575edfb6a (patch) | |
tree | a9b97c1fcd61c1a7eb7e52bcd888c1000429e05e /drivers/mmc/host/sdhci-pxav2.c | |
parent | d36f47c54b297f22b766d31422b2044b08473924 (diff) | |
download | linux-0092faf5a871db6b6d730bf54c0ad28575edfb6a.tar.xz |
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>
Diffstat (limited to 'drivers/mmc/host/sdhci-pxav2.c')
-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: |