aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/tmio_mmc.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2011-04-06 05:38:14 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2011-05-26 13:44:59 -0400
commitec71974f2a3ae052cdbb57a92ce3c3b34ebd7b5d (patch)
tree1158c337a4f29e84715965c2ef4c154634cbfc10 /drivers/mmc/host/tmio_mmc.c
parenta771e36e16e9fdacb2bb8d3b9be50be68f211b82 (diff)
mmc: Use device platform_data to retrieve tmio_mmc platform bits
With the addition of the platform device mfd_cell pointer, we can now cleanly pass the sub device drivers platform data pointers through the regular device platform_data one, and get rid of mfd_get_data() Cc: Ian Molton <spyro@f2s.com> Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Cc: Philipp Zabel <philipp.zabel@gmail.com> Acked-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mmc/host/tmio_mmc.c')
-rw-r--r--drivers/mmc/host/tmio_mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/tmio_mmc.c b/drivers/mmc/host/tmio_mmc.c
index 14479f9ef53f..8d185de90d20 100644
--- a/drivers/mmc/host/tmio_mmc.c
+++ b/drivers/mmc/host/tmio_mmc.c
@@ -69,7 +69,7 @@ static int __devinit tmio_mmc_probe(struct platform_device *pdev)
69 if (pdev->num_resources != 2) 69 if (pdev->num_resources != 2)
70 goto out; 70 goto out;
71 71
72 pdata = mfd_get_data(pdev); 72 pdata = pdev->dev.platform_data;
73 if (!pdata || !pdata->hclk) 73 if (!pdata || !pdata->hclk)
74 goto out; 74 goto out;
75 75