diff options
Diffstat (limited to 'drivers/regulator/max8925-regulator.c')
-rw-r--r-- | drivers/regulator/max8925-regulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/max8925-regulator.c b/drivers/regulator/max8925-regulator.c index cc9ec0e03271..f976e5d0867e 100644 --- a/drivers/regulator/max8925-regulator.c +++ b/drivers/regulator/max8925-regulator.c | |||
@@ -266,7 +266,7 @@ static int __devinit max8925_regulator_probe(struct platform_device *pdev) | |||
266 | ri->chip = chip; | 266 | ri->chip = chip; |
267 | 267 | ||
268 | rdev = regulator_register(&ri->desc, &pdev->dev, | 268 | rdev = regulator_register(&ri->desc, &pdev->dev, |
269 | pdata->regulator[pdev->id], ri); | 269 | pdata->regulator[pdev->id], ri, NULL); |
270 | if (IS_ERR(rdev)) { | 270 | if (IS_ERR(rdev)) { |
271 | dev_err(&pdev->dev, "failed to register regulator %s\n", | 271 | dev_err(&pdev->dev, "failed to register regulator %s\n", |
272 | ri->desc.name); | 272 | ri->desc.name); |