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:

committed by
Samuel Ortiz

parent
5528e40f97
commit
d24f36d352
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user