power: battery-charger-gauge: Add APIs to start/stop battery thermal monitoring
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 25 Jun 2013 07:34:40 +0000 (12:34 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:33:44 +0000 (13:33 -0700)
commitfd5865436f70a8c8d9ac193d71864ed2c7fb15c7
tree27672ba1cf3941efde875f9ba737246e139cfbf0
parent1a67cb0ed2ad2be432cece057be503f768d4684a
power: battery-charger-gauge: Add APIs to start/stop battery thermal monitoring

Add APIs to start and stop battery thermal monitoring. The charger
driver which is client of battery thermal monitoring will start
monitoring when charging cable connected and stop monitoring when
charging cable disconnected.

bug 1259466

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/241742
(cherry picked from commit 06a97a444b9358bee0a6423a3cad29b258a8e1a6)

Change-Id: I307a8a786a98e14e09969450cf8da2ef5e238e1c
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/253354
Reviewed-by: Automatic_Commit_Validation_User
drivers/power/battery-charger-gauge-comm.c
include/linux/power/battery-charger-gauge-comm.h