diff options
author | Andres Salomon <dilinger@queued.net> | 2011-02-17 22:07:13 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-03-23 05:41:51 -0400 |
commit | d24f36d352bb9fb72b6611bdca41adbb41cb13ba (patch) | |
tree | 74a1e36f65d48048866d80f65ae856a6e73c6642 /drivers/w1 | |
parent | 5528e40f973ac427c857593ea0f636b6f65058b0 (diff) |
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>
Diffstat (limited to 'drivers/w1')
-rw-r--r-- | drivers/w1/masters/ds1wm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/w1/masters/ds1wm.c b/drivers/w1/masters/ds1wm.c index 6b85e7fefa43..94f55d80f9ac 100644 --- a/drivers/w1/masters/ds1wm.c +++ b/drivers/w1/masters/ds1wm.c | |||
@@ -336,7 +336,7 @@ static int ds1wm_probe(struct platform_device *pdev) | |||
336 | if (!pdev) | 336 | if (!pdev) |
337 | return -ENODEV; | 337 | return -ENODEV; |
338 | 338 | ||
339 | cell = pdev->dev.platform_data; | 339 | cell = mfd_get_cell(pdev); |
340 | if (!cell) | 340 | if (!cell) |
341 | return -ENODEV; | 341 | return -ENODEV; |
342 | 342 | ||