Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330511
b: refs/heads/master
c: 70be130
h: refs/heads/master
i:
  330509: 48d4028
  330507: c1e5a36
  330503: b2ebb53
  330495: 27f3776
v: v3
  • Loading branch information
Kim, Milo authored and Anton Vorontsov committed Sep 21, 2012
1 parent d444ad0 commit b9b0ef4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: 65272bac3a24162b7362eccf9a30a481f2139266
refs/heads/master: 70be1305294ad50a45a8f4134152d5d6e79c922e
6 changes: 1 addition & 5 deletions trunk/drivers/power/lp8727_charger.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,7 @@ static int lp8727_init_device(struct lp8727_chg *pchg)
return ret;

val = LP8727_INT_EN | LP8727_CHGDET_EN;
ret = lp8727_write_byte(pchg, LP8727_CTRL2, val);
if (ret)
return ret;

return 0;
return lp8727_write_byte(pchg, LP8727_CTRL2, val);
}

static int lp8727_is_dedicated_charger(struct lp8727_chg *pchg)
Expand Down

0 comments on commit b9b0ef4

Please sign in to comment.