mfd: mfd_cell is now implicitly available to asic3 drivers
[pandora-kernel.git] / drivers / w1 / masters / ds1wm.c
index 6b85e7f..94f55d8 100644 (file)
@@ -336,7 +336,7 @@ static int ds1wm_probe(struct platform_device *pdev)
        if (!pdev)
                return -ENODEV;
 
-       cell = pdev->dev.platform_data;
+       cell = mfd_get_cell(pdev);
        if (!cell)
                return -ENODEV;