mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 12:35:52 +02:00
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 <shawn.lin@rock-chips.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
137cf0a4d6
commit
fedf31e204
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user