commit | faaae9bbb1f91f8bcd03bd9976620ac08d8b4454 | [log] [tgz] |
---|---|---|
author | Kim, Milo <Milo.Kim@ti.com> | Fri Aug 31 09:24:37 2012 +0000 |
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | Thu Sep 20 18:01:15 2012 -0700 |
tree | b133efdfdac441b3b1edad1d36838bc7e14c9741 | |
parent | b1ad079680b24386d12aa99dd9afd4eb7093bbee [diff] |
lp8727_charger: Use the definition rather than enum 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>