From fedf31e20405db12d1019f3df7b27fb7c92d2c61 Mon Sep 17 00:00:00 2001 From: Shawn Lin Date: Tue, 6 Jan 2026 10:16:55 +0800 Subject: [PATCH] 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 --- drivers/mmc/host/dw_mmc-pltfm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mmc/host/dw_mmc-pltfm.c b/drivers/mmc/host/dw_mmc-pltfm.c index 29f2c200d244..c7d727350596 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))