for (i = 0; i < pdata->num_backlights; i++) {
                memcpy(&bk_pdata[i], &pdata->backlight[i],
                        sizeof(struct pm860x_backlight_pdata));
-               bk_devs[i].mfd_data = &bk_pdata[i];
+               bk_devs[i].platform_data = &bk_pdata[i];
+               bk_devs[i].pdata_size = sizeof(bk_pdata[i]);
 
                for (j = 0; j < ARRAY_SIZE(bk_devs); j++) {
                        id = bk_resources[j].start;
        for (i = 0; i < pdata->num_leds; i++) {
                memcpy(&led_pdata[i], &pdata->led[i],
                        sizeof(struct pm860x_led_pdata));
-               led_devs[i].mfd_data = &led_pdata[i];
+               led_devs[i].platform_data = &led_pdata[i];
+               led_devs[i].pdata_size = sizeof(led_pdata[i]);
 
                for (j = 0; j < ARRAY_SIZE(led_devs); j++) {
                        id = led_resources[j].start;
                }
                memcpy(®ulator_pdata[i], &pdata->regulator[i],
                        sizeof(struct regulator_init_data));
-               regulator_devs[i].mfd_data = ®ulator_pdata[i];
+               regulator_devs[i].platform_data = ®ulator_pdata[i];
+               regulator_devs[i].pdata_size = sizeof(regulator_pdata[i]);
                regulator_devs[i].num_resources = 1;
                regulator_devs[i].resources = ®ulator_resources[j];
 
                return;
 
        memcpy(&touch_pdata, pdata->touch, sizeof(struct pm860x_touch_pdata));
-       touch_devs[0].mfd_data = &touch_pdata;
+       touch_devs[0].platform_data = &touch_pdata;
+       touch_devs[0].pdata_size = sizeof(touch_pdata);
        touch_devs[0].num_resources = ARRAY_SIZE(touch_resources);
        touch_devs[0].resources = &touch_resources[0];
        ret = mfd_add_devices(chip->dev, 0, &touch_devs[0],
                return;
 
        memcpy(&power_pdata, pdata->power, sizeof(struct pm860x_power_pdata));
-       power_devs[0].mfd_data = &power_pdata;
+       power_devs[0].platform_data = &power_pdata;
+       power_devs[0].pdata_size = sizeof(power_pdata);
        power_devs[0].num_resources = ARRAY_SIZE(battery_resources);
        power_devs[0].resources = &battery_resources[0],
        ret = mfd_add_devices(chip->dev, 0, &power_devs[0], 1,
        if (ret < 0)
                dev_err(chip->dev, "Failed to add battery subdev\n");
 
-       power_devs[1].mfd_data = &power_pdata;
+       power_devs[1].platform_data = &power_pdata;
+       power_devs[0].pdata_size = sizeof(power_pdata);
        power_devs[1].num_resources = ARRAY_SIZE(charger_resources);
        power_devs[1].resources = &charger_resources[0],
        ret = mfd_add_devices(chip->dev, 0, &power_devs[1], 1,
 
 #include <linux/platform_device.h>
 #include <linux/regulator/driver.h>
 #include <linux/regulator/machine.h>
-#include <linux/mfd/core.h>
 #include <linux/mfd/88pm860x.h>
 
 struct pm8607_regulator_info {
        struct pm860x_chip *chip = dev_get_drvdata(pdev->dev.parent);
        struct pm8607_regulator_info *info = NULL;
        struct regulator_init_data *pdata;
-       struct mfd_cell *cell;
        int i;
 
-       cell = pdev->dev.platform_data;
-       if (cell == NULL)
-               return -ENODEV;
-       pdata = cell->mfd_data;
+       pdata = pdev->dev.platform_data;
        if (pdata == NULL)
                return -EINVAL;
 
 
 #include <linux/fb.h>
 #include <linux/i2c.h>
 #include <linux/backlight.h>
-#include <linux/mfd/core.h>
 #include <linux/mfd/88pm860x.h>
 
 #define MAX_BRIGHTNESS         (0xFF)
        struct pm860x_backlight_pdata *pdata = NULL;
        struct pm860x_backlight_data *data;
        struct backlight_device *bl;
-       struct mfd_cell *cell;
        struct resource *res;
        struct backlight_properties props;
        unsigned char value;
                return -EINVAL;
        }
 
-       cell = pdev->dev.platform_data;
-       if (cell == NULL)
-               return -ENODEV;
-       pdata = cell->mfd_data;
+       pdata = pdev->dev.platform_data;
        if (pdata == NULL) {
                dev_err(&pdev->dev, "platform data isn't assigned to "
                        "backlight\n");