Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272399
b: refs/heads/master
c: 99cd25c
h: refs/heads/master
i:
  272397: 9c7ecc8
  272395: fc661dd
  272391: e1273bc
  272383: b59ddc0
v: v3
  • Loading branch information
Axel Lin authored and Liam Girdwood committed Aug 8, 2011
1 parent 6cae13a commit 4cb2174
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 88585b83e011e661bcd2cf48d47f4634bdd92a14
refs/heads/master: 99cd25ce10249c7f9d7172fe2ed266b023cd3323
2 changes: 1 addition & 1 deletion trunk/drivers/regulator/88pm8607.c
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ static int __devinit pm8607_regulator_probe(struct platform_device *pdev)
if (info->desc.id == res->start)
break;
}
if ((i < 0) || (i > PM8607_ID_RG_MAX)) {
if (i == ARRAY_SIZE(pm8607_regulator_info)) {
dev_err(&pdev->dev, "Failed to find regulator %llu\n",
(unsigned long long)res->start);
return -EINVAL;
Expand Down

0 comments on commit 4cb2174

Please sign in to comment.