lp8727_charger: Return if the battery is discharging
authorKim, Milo <Milo.Kim@ti.com>
Fri, 31 Aug 2012 09:26:06 +0000 (09:26 +0000)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Fri, 21 Sep 2012 01:05:55 +0000 (18:05 -0700)
commite06374b0d6055ef21e49d14d955eb9fc5088f707
tree6f4407381fb518e2110a12859c38a12d3134d2cb
parentb59c93c0090d14556d988607e5bdb297d6e380a7
lp8727_charger: Return if the battery is discharging

If the charger is pulled out, just return as DISCHARGING. Then no need for
additional 'else' statement.

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
drivers/power/lp8727_charger.c