diff options
Diffstat (limited to 'drivers/regulator/max8660.c')
-rw-r--r-- | drivers/regulator/max8660.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/max8660.c b/drivers/regulator/max8660.c index 33f5d9a492ef..a838e664569f 100644 --- a/drivers/regulator/max8660.c +++ b/drivers/regulator/max8660.c | |||
@@ -449,7 +449,7 @@ static int __devinit max8660_probe(struct i2c_client *client, | |||
449 | 449 | ||
450 | rdev[i] = regulator_register(&max8660_reg[id], &client->dev, | 450 | rdev[i] = regulator_register(&max8660_reg[id], &client->dev, |
451 | pdata->subdevs[i].platform_data, | 451 | pdata->subdevs[i].platform_data, |
452 | max8660); | 452 | max8660, NULL); |
453 | if (IS_ERR(rdev[i])) { | 453 | if (IS_ERR(rdev[i])) { |
454 | ret = PTR_ERR(rdev[i]); | 454 | ret = PTR_ERR(rdev[i]); |
455 | dev_err(&client->dev, "failed to register %s\n", | 455 | dev_err(&client->dev, "failed to register %s\n", |