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)
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>

No differences found