From: Kim, Milo Date: Fri, 31 Aug 2012 09:24:37 +0000 (+0000) Subject: lp8727_charger: Use the definition rather than enum X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~5^2~18 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=faaae9bbb1f91f8bcd03bd9976620ac08d8b4454;p=pandora-kernel.git 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-diff-tree failed