diff options
Diffstat (limited to 'drivers/regulator/wm8400-regulator.c')
-rw-r--r-- | drivers/regulator/wm8400-regulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/wm8400-regulator.c b/drivers/regulator/wm8400-regulator.c index 71632ddc3781..706f39563a7b 100644 --- a/drivers/regulator/wm8400-regulator.c +++ b/drivers/regulator/wm8400-regulator.c | |||
@@ -326,7 +326,7 @@ static int __devinit wm8400_regulator_probe(struct platform_device *pdev) | |||
326 | struct regulator_dev *rdev; | 326 | struct regulator_dev *rdev; |
327 | 327 | ||
328 | rdev = regulator_register(®ulators[pdev->id], &pdev->dev, | 328 | rdev = regulator_register(®ulators[pdev->id], &pdev->dev, |
329 | pdev->dev.platform_data, wm8400); | 329 | pdev->dev.platform_data, wm8400, NULL); |
330 | 330 | ||
331 | if (IS_ERR(rdev)) | 331 | if (IS_ERR(rdev)) |
332 | return PTR_ERR(rdev); | 332 | return PTR_ERR(rdev); |