]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit93ca603b83292386449e381c956914ac642192b3
tree6f4407381fb518e2110a12859c38a12d3134d2cb
parent31730c8adb50e483110bcc6b791d6c1b2f388e91
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