mfd: mfd_cell is now implicitly available to asic3 drivers

No need to explicitly set the cell's platform_data/data_size.

Modify clients to use mfd_get_cell helper function instead of
accessing platform_data directly.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Andres Salomon
2011-02-17 19:07:13 -08:00
committed by Samuel Ortiz
parent 5528e40f97
commit d24f36d352
3 changed files with 13 additions and 19 deletions

View 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;