aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/twl4030-codec.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/twl4030-codec.c')
-rw-r--r--drivers/mfd/twl4030-codec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mfd/twl4030-codec.c b/drivers/mfd/twl4030-codec.c
index 9a4b196d6deb..0f5742655b46 100644
--- a/drivers/mfd/twl4030-codec.c
+++ b/drivers/mfd/twl4030-codec.c
@@ -209,14 +209,12 @@ static int __devinit twl4030_codec_probe(struct platform_device *pdev)
209 cell = &codec->cells[childs]; 209 cell = &codec->cells[childs];
210 cell->name = "twl4030-codec"; 210 cell->name = "twl4030-codec";
211 cell->platform_data = pdata->audio; 211 cell->platform_data = pdata->audio;
212 cell->data_size = sizeof(*pdata->audio);
213 childs++; 212 childs++;
214 } 213 }
215 if (pdata->vibra) { 214 if (pdata->vibra) {
216 cell = &codec->cells[childs]; 215 cell = &codec->cells[childs];
217 cell->name = "twl4030-vibra"; 216 cell->name = "twl4030-vibra";
218 cell->platform_data = pdata->vibra; 217 cell->platform_data = pdata->vibra;
219 cell->data_size = sizeof(*pdata->vibra);
220 childs++; 218 childs++;
221 } 219 }
222 220