From faaae9bbb1f91f8bcd03bd9976620ac08d8b4454 Mon Sep 17 00:00:00 2001 From: "Kim, Milo" Date: Fri, 31 Aug 2012 09:24:37 +0000 Subject: [PATCH] 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 Signed-off-by: Anton Vorontsov --- Reading git-format-patch failed