summaryrefslogtreecommitdiff
path: root/drivers/power/isp1704_charger.c
diff options
context:
space:
mode:
authorKim, Milo <Milo.Kim@ti.com>2012-08-31 09:24:37 (GMT)
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-09-21 01:01:15 (GMT)
commitfaaae9bbb1f91f8bcd03bd9976620ac08d8b4454 (patch)
treeb133efdfdac441b3b1edad1d36838bc7e14c9741 /drivers/power/isp1704_charger.c
parentb1ad079680b24386d12aa99dd9afd4eb7093bbee (diff)
downloadlinux-faaae9bbb1f91f8bcd03bd9976620ac08d8b4454.tar.xz
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>
Diffstat (limited to 'drivers/power/isp1704_charger.c')
0 files changed, 0 insertions, 0 deletions