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
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
2 matches
Mail list logo