max17048: update temp change promptly
authorHyongbin Kim <hyongbink@nvidia.com>
Mon, 14 Oct 2013 05:48:55 +0000 (14:48 +0900)
committerHarry Hong <hhong@nvidia.com>
Mon, 21 Oct 2013 10:07:47 +0000 (03:07 -0700)
commit41dfb7e9b980d5fa98a05c86ddf2376b4e3673cc
treed0016ebad3dd4ab68bbcfd640a1da1b344c01962
parent3da80ffdd03ad43d2ccd07a477eb960fa8b8ce04
max17048: update temp change promptly

When battery temperature is changed over 1.5C or over hot/cold threshold,
update power supply for sending event to framwork.

Bug 1386890

Change-Id: I72ecda41b339a07a467ca31950643fb45b21b7d9
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/298845
(cherry picked from commit 1aa792d601dcc436e05d8d10033b714ee129a474)
Reviewed-on: http://git-master/r/301644
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
drivers/power/max17048_battery.c