[PATCH 16/22] lp8727_charger: return if the battery is discharging

2012-08-31 Thread Kim, Milo
If the charger is pulled out, just return as DISCHARGING. Then no need for additional 'else' statement. Signed-off-by: Milo(Woogyom) Kim --- drivers/power/lp8727_charger.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/power/lp8727_charger.c

[PATCH 16/22] lp8727_charger: return if the battery is discharging

2012-08-31 Thread Kim, Milo
If the charger is pulled out, just return as DISCHARGING. Then no need for additional 'else' statement. Signed-off-by: Milo(Woogyom) Kim milo@ti.com --- drivers/power/lp8727_charger.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git