diff options
Diffstat (limited to 'drivers/regulator/lp3972.c')
-rw-r--r-- | drivers/regulator/lp3972.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/lp3972.c b/drivers/regulator/lp3972.c index fbc5e3741bef..49a15eefe5fe 100644 --- a/drivers/regulator/lp3972.c +++ b/drivers/regulator/lp3972.c | |||
@@ -555,7 +555,7 @@ static int __devinit setup_regulators(struct lp3972 *lp3972, | |||
555 | for (i = 0; i < pdata->num_regulators; i++) { | 555 | for (i = 0; i < pdata->num_regulators; i++) { |
556 | struct lp3972_regulator_subdev *reg = &pdata->regulators[i]; | 556 | struct lp3972_regulator_subdev *reg = &pdata->regulators[i]; |
557 | lp3972->rdev[i] = regulator_register(®ulators[reg->id], | 557 | lp3972->rdev[i] = regulator_register(®ulators[reg->id], |
558 | lp3972->dev, reg->initdata, lp3972); | 558 | lp3972->dev, reg->initdata, lp3972, NULL); |
559 | 559 | ||
560 | if (IS_ERR(lp3972->rdev[i])) { | 560 | if (IS_ERR(lp3972->rdev[i])) { |
561 | err = PTR_ERR(lp3972->rdev[i]); | 561 | err = PTR_ERR(lp3972->rdev[i]); |