Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233687
b: refs/heads/master
c: 4b2f67d
h: refs/heads/master
i:
  233685: af5073f
  233683: cac28b6
  233679: 5567736
v: v3
  • Loading branch information
Jesper Juhl authored and Liam Girdwood committed Feb 25, 2011
1 parent 709e618 commit fb351ac
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: 9ee291a453c1db310c0298f8e6c28794cd2c52bd
refs/heads/master: 4b2f67d756cf4a5ed8e8d11caa7dcea06c41a09e
2 changes: 1 addition & 1 deletion trunk/drivers/regulator/mc13xxx-regulator-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ static int mc13xxx_regulator_get_voltage(struct regulator_dev *rdev)

dev_dbg(rdev_get_dev(rdev), "%s id: %d val: %d\n", __func__, id, val);

BUG_ON(val < 0 || val > mc13xxx_regulators[id].desc.n_voltages);
BUG_ON(val > mc13xxx_regulators[id].desc.n_voltages);

return mc13xxx_regulators[id].voltages[val];
}
Expand Down

0 comments on commit fb351ac

Please sign in to comment.