lp8727_charger: Use the definition rather than enum
authorKim, Milo <Milo.Kim@ti.com>
Fri, 31 Aug 2012 09:24:37 +0000 (09:24 +0000)
committerAnton 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