Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220639
b: refs/heads/master
c: 25d9507
h: refs/heads/master
i:
  220637: cd897b4
  220635: a3782e4
  220631: 1bff609
  220623: b1ece32
  220607: ba3a120
v: v3
  • Loading branch information
Axel Lin authored and Samuel Ortiz committed Oct 28, 2010
1 parent b9f3eff commit d8977f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 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: 1558b51eb7c813b3d90bdd68057403f7cac191fa
refs/heads/master: 25d950714781f34e7ae1292f38889cf39983cb38
2 changes: 0 additions & 2 deletions trunk/drivers/mfd/max8998.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ int max8998_update_reg(struct i2c_client *i2c, u8 reg, u8 val, u8 mask)
u8 old_val = ret & 0xff;
u8 new_val = (val & mask) | (old_val & (~mask));
ret = i2c_smbus_write_byte_data(i2c, reg, new_val);
if (ret >= 0)
ret = 0;
}
mutex_unlock(&max8998->iolock);
return ret;
Expand Down

0 comments on commit d8977f4

Please sign in to comment.