Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323357
b: refs/heads/master
c: 5fc72f5
h: refs/heads/master
i:
  323355: c85f122
v: v3
  • Loading branch information
Stephen Warren authored and Mark Brown committed Aug 28, 2012
1 parent 9e6fb74 commit 8f76263
Show file tree
Hide file tree
Showing 2 changed files with 5 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: dedae957a41b4f4523199f7a822ee4e5735640b0
refs/heads/master: 5fc72f57e62e10d9d8347ae20f13820d811377da
5 changes: 4 additions & 1 deletion trunk/drivers/regulator/max8907-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,10 @@ static __devinit int max8907_regulator_probe(struct platform_device *pdev)

switch (pmic->desc[i].id) {
case MAX8907_MBATT:
mbatt_rail_name = idata->constraints.name;
if (idata && idata->constraints.name)
mbatt_rail_name = idata->constraints.name;
else
mbatt_rail_name = pmic->desc[i].name;
break;
case MAX8907_BBAT:
case MAX8907_SDBY:
Expand Down

0 comments on commit 8f76263

Please sign in to comment.