mfd: Use mfd cell platform_data for timberdale cells platform bits
[deliverable/linux.git] / drivers / i2c / busses / i2c-ocores.c
index fee1a2613861a8d1ea16d12b9e660dd0947df05c..1b46a9d9f907336fb70526ca93881ce3b3934950 100644 (file)
@@ -49,7 +49,6 @@
 #include <linux/init.h>
 #include <linux/errno.h>
 #include <linux/platform_device.h>
-#include <linux/mfd/core.h>
 #include <linux/i2c.h>
 #include <linux/interrupt.h>
 #include <linux/wait.h>
@@ -306,7 +305,7 @@ static int __devinit ocores_i2c_probe(struct platform_device *pdev)
                return -EIO;
        }
 
-       pdata = mfd_get_data(pdev);
+       pdata = pdev->dev.platform_data;
        if (pdata) {
                i2c->regstep = pdata->regstep;
                i2c->clock_khz = pdata->clock_khz;
This page took 0.023631 seconds and 5 git commands to generate.