summaryrefslogtreecommitdiffstats
path: root/drivers/power/olpc_battery.c
diff options
context:
space:
mode:
authorKim, Milo <Milo.Kim@ti.com>2012-08-31 09:26:06 +0000
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-09-20 18:05:55 -0700
commite06374b0d6055ef21e49d14d955eb9fc5088f707 (patch)
tree6f4407381fb518e2110a12859c38a12d3134d2cb /drivers/power/olpc_battery.c
parentb59c93c0090d14556d988607e5bdb297d6e380a7 (diff)
downloadop-kernel-dev-e06374b0d6055ef21e49d14d955eb9fc5088f707.zip
op-kernel-dev-e06374b0d6055ef21e49d14d955eb9fc5088f707.tar.gz
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>
Diffstat (limited to 'drivers/power/olpc_battery.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud