[PATCH 09/22] lp8727_charger: use the definition rather than enum

2012-08-31 Thread Kim, Milo
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 --- drivers/power/lp8727_charger.c | 16 +--- 1

[PATCH 09/22] lp8727_charger: use the definition rather than enum

2012-08-31 Thread Kim, Milo
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@ti.com --- drivers/power/lp8727_charger.c | 16