Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220634
b: refs/heads/master
c: a8d6aa0
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Samuel Ortiz committed Oct 28, 2010
1 parent 4ecf37b commit c02a32d
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: 7745cc8c3b977203c1b7483c09d05b58c8e88728
refs/heads/master: a8d6aa08dd3e004df6a6e63a61698d834a191ad3
2 changes: 1 addition & 1 deletion trunk/drivers/mfd/tps6507x.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ static int tps6507x_i2c_write_device(struct tps6507x_dev *tps6507x, char reg,
u8 msg[TPS6507X_MAX_REGISTER + 1];
int ret;

if (bytes > (TPS6507X_MAX_REGISTER + 1))
if (bytes > TPS6507X_MAX_REGISTER)
return -EINVAL;

msg[0] = reg;
Expand Down

0 comments on commit c02a32d

Please sign in to comment.