From: Shawn Lin Date: Tue, 6 Jan 2026 02:16:55 +0000 (+0800) Subject: mmc: dw_mmc: Remove assignment of pdata in dw_mci_pltfm_register() X-Git-Tag: v7.1-rc1~157^2~90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fedf31e20405db12d1019f3df7b27fb7c92d2c61;p=thirdparty%2Fkernel%2Fstable.git mmc: dw_mmc: Remove assignment of pdata in dw_mci_pltfm_register() No one using dw_mci_pltfm_register() passes in platform_data when searching host and arch directories, remove it. Signed-off-by: Shawn Lin Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/host/dw_mmc-pltfm.c b/drivers/mmc/host/dw_mmc-pltfm.c index 29f2c200d2449..c7d7273505962 100644 --- a/drivers/mmc/host/dw_mmc-pltfm.c +++ b/drivers/mmc/host/dw_mmc-pltfm.c @@ -43,7 +43,6 @@ int dw_mci_pltfm_register(struct platform_device *pdev, host->drv_data = drv_data; host->irq_flags = 0; - host->pdata = pdev->dev.platform_data; host->regs = devm_platform_get_and_ioremap_resource(pdev, 0, ®s); if (IS_ERR(host->regs))