summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@queued.net>2011-02-18 04:07:18 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2011-03-23 10:41:53 +0100
commit410b09172787a930753fa5ed904d820e3a9d7a1f (patch)
tree970eee4a14fc4b906af29254b4eb3a1c0bde3f60 /drivers
parentmfd: mfd_cell is now implicitly available to wl1273 drivers (diff)
downloadlinux-410b09172787a930753fa5ed904d820e3a9d7a1f.tar.xz
linux-410b09172787a930753fa5ed904d820e3a9d7a1f.zip
mfd: mfd_cell is now implicitly available to sh_mobile_sdhi drivers
No need to explicitly set the cell's platform_data/data_size. Signed-off-by: Andres Salomon <dilinger@queued.net> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/sh_mobile_sdhi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mfd/sh_mobile_sdhi.c b/drivers/mfd/sh_mobile_sdhi.c
index 0a7df44a93c0..b511e744e526 100644
--- a/drivers/mfd/sh_mobile_sdhi.c
+++ b/drivers/mfd/sh_mobile_sdhi.c
@@ -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);