git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1ad079
)
lp8727_charger: Use the definition rather than enum
author
Kim, Milo
<Milo.Kim@ti.com>
Fri, 31 Aug 2012 09:24:37 +0000
(09:24 +0000)
committer
Anton Vorontsov
<anton.vorontsov@linaro.org>
Fri, 21 Sep 2012 01:01:15 +0000
(18:01 -0700)
Enum lp8727_chg_state can be removed because only one charger status is
used - EOC(End Of Charge).
To check whether the EOC is reached or not, use simple comparison rather
than shift-operation.
Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
No differences found