Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252175
b: refs/heads/master
c: 3c24019
h: refs/heads/master
i:
  252173: a953da8
  252171: c1cd491
  252167: eb726f0
  252159: 75a8dfb
v: v3
  • Loading branch information
Axel Lin authored and Liam Girdwood committed May 27, 2011
1 parent b96055a commit d4f0973
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: 6dc4efc6d5429292f29009f6569fbb9a53929dd6
refs/heads/master: 3c24019ddeab71ddf125ad2ad13a38041655c1fd
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 > 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 d4f0973

Please sign in to comment.