power: bq27xxx_battery: Cleanup health checking
authorAndrew F. Davis <afd@ti.com>
Tue, 22 Sep 2015 19:35:10 +0000 (14:35 -0500)
committerSebastian Reichel <sre@kernel.org>
Wed, 23 Sep 2015 15:36:18 +0000 (17:36 +0200)
commit74aab849f3423f3f783a8e5e9767572c2b59b353
treea8e1e3cd228c010adbf24bd92f31575a5ce98b8d
parentd74534c27775857cb09abd0f92ed9539dc8d0a93
power: bq27xxx_battery: Cleanup health checking

Reorganize the logic checking battery health and add under temperature
condition checking.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Acked-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/bq27xxx_battery.c