diff options
author | Andres Salomon <dilinger@queued.net> | 2011-02-17 22:07:25 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-03-23 05:41:55 -0400 |
commit | 65e523595a31813c0f20ffd249792c60e253438e (patch) | |
tree | 595f1db4bafe62d7d96760d45ea6d42e59a21256 /drivers/mfd/wl1273-core.c | |
parent | 40e03f571b2e63827f2afb90ea9aa459612c29e3 (diff) |
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>
Diffstat (limited to 'drivers/mfd/wl1273-core.c')
-rw-r--r-- | drivers/mfd/wl1273-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/wl1273-core.c b/drivers/mfd/wl1273-core.c index b4823bf9523b..529d65ba5353 100644 --- a/drivers/mfd/wl1273-core.c +++ b/drivers/mfd/wl1273-core.c | |||
@@ -78,7 +78,7 @@ static int __devinit wl1273_core_probe(struct i2c_client *client, | |||
78 | 78 | ||
79 | cell = &core->cells[children]; | 79 | cell = &core->cells[children]; |
80 | cell->name = "wl1273_fm_radio"; | 80 | cell->name = "wl1273_fm_radio"; |
81 | cell->platform_data = &core; | 81 | cell->mfd_data = &core; |
82 | children++; | 82 | children++; |
83 | 83 | ||
84 | if (pdata->children & WL1273_CODEC_CHILD) { | 84 | if (pdata->children & WL1273_CODEC_CHILD) { |
@@ -86,7 +86,7 @@ static int __devinit wl1273_core_probe(struct i2c_client *client, | |||
86 | 86 | ||
87 | dev_dbg(&client->dev, "%s: Have codec.\n", __func__); | 87 | dev_dbg(&client->dev, "%s: Have codec.\n", __func__); |
88 | cell->name = "wl1273-codec"; | 88 | cell->name = "wl1273-codec"; |
89 | cell->platform_data = &core; | 89 | cell->mfd_data = &core; |
90 | children++; | 90 | children++; |
91 | } | 91 | } |
92 | 92 | ||