Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1596594 > unrolled thread
| Started by | Jisheng Zhang <jszhang@marvell.com> |
|---|---|
| First post | 2017-03-10 04:30 +0100 |
| Last post | 2017-03-10 04:30 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 1/3] mmc: sdhci-pxav3: remove unnecessary platform_set_drvdata() call Jisheng Zhang <jszhang@marvell.com> - 2017-03-10 04:30 +0100
| From | Jisheng Zhang <jszhang@marvell.com> |
|---|---|
| Date | 2017-03-10 04:30 +0100 |
| Subject | [PATCH 1/3] mmc: sdhci-pxav3: remove unnecessary platform_set_drvdata() call |
| Message-ID | <tjjpD-67H-13@gated-at.bofh.it> |
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> --- drivers/mmc/host/sdhci-pxav3.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c index d0f5c05fbc19..132670a612a0 100644 --- a/drivers/mmc/host/sdhci-pxav3.c +++ b/drivers/mmc/host/sdhci-pxav3.c @@ -480,8 +480,6 @@ static int sdhci_pxav3_probe(struct platform_device *pdev) goto err_add_host; } - platform_set_drvdata(pdev, host); - if (host->mmc->pm_caps & MMC_PM_WAKE_SDIO_IRQ) device_init_wakeup(&pdev->dev, 1); -- 2.11.0
Back to top | Article view | linux.kernel
csiph-web