w1: Use device platform_data to retrieve ds1wm platform bits
With the addition of the platform device mfd_cell pointer, we can now cleanly pass the sub device drivers platform data pointers through the regular device platform_data one, and get rid of mfd_get_data(). Cc: Matt Reimer <mreimer@vpop.net> Cc: Philipp Zabel <philipp.zabel@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
@ -676,7 +676,8 @@ static struct mfd_cell asic3_cell_ds1wm = {
|
||||
.name = "ds1wm",
|
||||
.enable = ds1wm_enable,
|
||||
.disable = ds1wm_disable,
|
||||
.mfd_data = &ds1wm_pdata,
|
||||
.platform_data = &ds1wm_pdata,
|
||||
.pdata_size = sizeof(ds1wm_pdata),
|
||||
.num_resources = ARRAY_SIZE(ds1wm_resources),
|
||||
.resources = ds1wm_resources,
|
||||
};
|
||||
|
Reference in New Issue
Block a user