diff options
author | 2012-08-31 09:26:06 +0000 | |
---|---|---|
committer | 2012-09-20 18:05:55 -0700 | |
commit | e06374b0d6055ef21e49d14d955eb9fc5088f707 (patch) | |
tree | 6f4407381fb518e2110a12859c38a12d3134d2cb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | lp8727_charger: Make lp8727_charger_get_propery() simpler (diff) | |
download | linux-dev-e06374b0d6055ef21e49d14d955eb9fc5088f707.tar.xz linux-dev-e06374b0d6055ef21e49d14d955eb9fc5088f707.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions