Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252172
b: refs/heads/master
c: 0514e9a
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Liam Girdwood committed May 27, 2011
1 parent c1cd491 commit 41b3a5f
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: 4aa922c024b2a194d7b68b22a66dfcf86e7838b3
refs/heads/master: 0514e9acd7655c708fbf12a659ea43d835bc688a
2 changes: 1 addition & 1 deletion trunk/drivers/mfd/tps65910.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static int tps65910_i2c_write(struct tps65910 *tps65910, u8 reg,
u8 msg[TPS65910_MAX_REGISTER + 1];
int ret;

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

msg[0] = reg;
Expand Down

0 comments on commit 41b3a5f

Please sign in to comment.