Skip to contentSkip to conversation

sh_mobile_sdhi: mfd_cell is now implicitly available to drivers

PATCH In review Andres Salomon 1 participant 1 message Feb 12, 2011 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

PATCH 11/17 sh_mobile_sdhi: mfd_cell is now implicitly available to drivers

No need to explicitly set the cell's platform_data/data_size.

---
 drivers/mfd/sh_mobile_sdhi.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/mfd/sh_mobile_sdhi.c +0 -2
index 0a7df44..b511e74 100644
@@ -147,8 +147,6 @@ static int __devinit sh_mobile_sdhi_probe(struct platform_device *pdev)
 
 	memcpy(&priv->cell_mmc, &sh_mobile_sdhi_cell, sizeof(priv->cell_mmc));
 	priv->cell_mmc.driver_data = mmc_data;
-	priv->cell_mmc.platform_data = &priv->cell_mmc;
-	priv->cell_mmc.data_size = sizeof(priv->cell_mmc);
 
 	platform_set_drvdata(pdev, priv);
 
Signature · 1 line
1.7.2.3