Skip to content

Commit

Permalink
Merge remote-tracking branch 'regulator/topic/dt' into regulator-next
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Brown committed Nov 24, 2011
2 parents 924ee2c + 1568434 commit 02fcc84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/regulator/gpio-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ static int __devinit gpio_regulator_probe(struct platform_device *pdev)
drvdata->state = state;

drvdata->dev = regulator_register(&drvdata->desc, &pdev->dev,
config->init_data, drvdata);
config->init_data, drvdata, NULL);
if (IS_ERR(drvdata->dev)) {
ret = PTR_ERR(drvdata->dev);
dev_err(&pdev->dev, "Failed to register regulator: %d\n", ret);
Expand Down

0 comments on commit 02fcc84

Please sign in to comment.