diff options
Diffstat (limited to 'drivers/regulator/bq24022.c')
-rw-r--r-- | drivers/regulator/bq24022.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/bq24022.c b/drivers/regulator/bq24022.c index e24d1b7d97a8..9fab6d1bbe80 100644 --- a/drivers/regulator/bq24022.c +++ b/drivers/regulator/bq24022.c | |||
@@ -107,7 +107,7 @@ static int __init bq24022_probe(struct platform_device *pdev) | |||
107 | ret = gpio_direction_output(pdata->gpio_nce, 1); | 107 | ret = gpio_direction_output(pdata->gpio_nce, 1); |
108 | 108 | ||
109 | bq24022 = regulator_register(&bq24022_desc, &pdev->dev, | 109 | bq24022 = regulator_register(&bq24022_desc, &pdev->dev, |
110 | pdata->init_data, pdata); | 110 | pdata->init_data, pdata, NULL); |
111 | if (IS_ERR(bq24022)) { | 111 | if (IS_ERR(bq24022)) { |
112 | dev_dbg(&pdev->dev, "couldn't register regulator\n"); | 112 | dev_dbg(&pdev->dev, "couldn't register regulator\n"); |
113 | ret = PTR_ERR(bq24022); | 113 | ret = PTR_ERR(bq24022); |