You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
mfd: Rename platform_data field of mfd_cell to mfd_data
Rename the platform_data variable to imply a distinction between common platform_data driver usage (typically accessed via pdev->dev.platform_data) and the way MFD passes data down to clients (using a wrapper named mfd_get_data). All clients have already been changed to use the wrapper function, so this can be a quick single-commit change that only touches things in drivers/mfd. Signed-off-by: Andres Salomon <dilinger@queued.net> Acked-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
committed by
Samuel Ortiz
parent
40e03f571b
commit
65e523595a
@@ -78,7 +78,7 @@ static int __devinit wl1273_core_probe(struct i2c_client *client,
|
||||
|
||||
cell = &core->cells[children];
|
||||
cell->name = "wl1273_fm_radio";
|
||||
cell->platform_data = &core;
|
||||
cell->mfd_data = &core;
|
||||
children++;
|
||||
|
||||
if (pdata->children & WL1273_CODEC_CHILD) {
|
||||
@@ -86,7 +86,7 @@ static int __devinit wl1273_core_probe(struct i2c_client *client,
|
||||
|
||||
dev_dbg(&client->dev, "%s: Have codec.\n", __func__);
|
||||
cell->name = "wl1273-codec";
|
||||
cell->platform_data = &core;
|
||||
cell->mfd_data = &core;
|
||||
children++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user