Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177728
b: refs/heads/master
c: d662fc8
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and Liam Girdwood committed Dec 17, 2009
1 parent ab98d08 commit 8e55e0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: b56daf13eb77ee24f48f0bb34c2492f46a432ec4
refs/heads/master: d662fc82dc745ee24d518b0fde5a6a19758092ec
4 changes: 2 additions & 2 deletions trunk/drivers/regulator/lp3971.c
Original file line number Diff line number Diff line change
Expand Up @@ -446,8 +446,8 @@ static int setup_regulators(struct lp3971 *lp3971,
lp3971->rdev[i] = regulator_register(&regulators[id],
lp3971->dev, pdata->regulators[i].initdata, lp3971);

err = IS_ERR(lp3971->rdev[i]);
if (err) {
if (IS_ERR(lp3971->rdev[i])) {
err = PTR_ERR(lp3971->rdev[i]);
dev_err(lp3971->dev, "regulator init failed: %d\n",
err);
goto error;
Expand Down

0 comments on commit 8e55e0c

Please sign in to comment.