diff options
Diffstat (limited to 'drivers/mfd/mfd-core.c')
-rw-r--r-- | drivers/mfd/mfd-core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/mfd-core.c b/drivers/mfd/mfd-core.c index 21a39dc64ea..01115f686df 100644 --- a/drivers/mfd/mfd-core.c +++ b/drivers/mfd/mfd-core.c | |||
@@ -37,7 +37,6 @@ static int mfd_add_device(struct device *parent, int id, | |||
37 | goto fail_device; | 37 | goto fail_device; |
38 | 38 | ||
39 | pdev->dev.parent = parent; | 39 | pdev->dev.parent = parent; |
40 | platform_set_drvdata(pdev, cell->driver_data); | ||
41 | 40 | ||
42 | ret = platform_device_add_data(pdev, cell, sizeof(*cell)); | 41 | ret = platform_device_add_data(pdev, cell, sizeof(*cell)); |
43 | if (ret) | 42 | if (ret) |