Enum lp8727_chg_state can be removed because only one charger status
is used - EOC(End Of Charge).
To check whether the EOC is reached or not, use simple comparison
rather than shift-operation.
Signed-off-by: Milo(Woogyom) Kim
---
drivers/power/lp8727_charger.c | 16 +---
1
Enum lp8727_chg_state can be removed because only one charger status
is used - EOC(End Of Charge).
To check whether the EOC is reached or not, use simple comparison
rather than shift-operation.
Signed-off-by: Milo(Woogyom) Kim milo@ti.com
---
drivers/power/lp8727_charger.c | 16
2 matches
Mail list logo