diff options
author | Andres Salomon <dilinger@queued.net> | 2011-02-18 06:07:13 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-03-23 12:41:51 +0300 |
commit | d24f36d352bb9fb72b6611bdca41adbb41cb13ba (patch) | |
tree | 74a1e36f65d48048866d80f65ae856a6e73c6642 /drivers/w1/masters | |
parent | 5528e40f973ac427c857593ea0f636b6f65058b0 (diff) | |
download | linux-d24f36d352bb9fb72b6611bdca41adbb41cb13ba.tar.xz |
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/masters')
-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) if (!pdev) return -ENODEV; - cell = pdev->dev.platform_data; + cell = mfd_get_cell(pdev); if (!cell) return -ENODEV; |