Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 282203
b: refs/heads/master
c: 1bb50b2
h: refs/heads/master
i:
  282201: 058e990
  282199: 2367972
v: v3
  • Loading branch information
Richard Zhao authored and Mark Brown committed Jan 2, 2012
1 parent 5172899 commit 81d5e1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 935a521066113e16c15b842852ed681bbbdfbc63
refs/heads/master: 1bb50b28a984857c2487d13187af5b3701aed38a
3 changes: 2 additions & 1 deletion trunk/drivers/regulator/fixed.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,8 @@ static int __devinit reg_fixed_voltage_probe(struct platform_device *pdev)
}

drvdata->dev = regulator_register(&drvdata->desc, &pdev->dev,
config->init_data, drvdata, NULL);
config->init_data, drvdata,
pdev->dev.of_node);
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 81d5e1b

Please sign in to comment.