power: battery-gauge: add API to get battery temperature
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 26 Jun 2013 09:54:06 +0000 (14:54 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:33:46 +0000 (13:33 -0700)
commit8b2411c7e67802659d94e4aa6a4a65464fdfae48
tree71fe52cf2141fa142201a1bdc1da46a378ee3ab8
parent84f8146252e7cf8c30e0dcc7d807c19f419ea903
power: battery-gauge: add API to get battery temperature

Add public API to get battery temperature using the thermal
zone framework.

bug 1259466

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

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