thermal: check return value of update_temperature
authorJinyoung Park <jinyoungp@nvidia.com>
Thu, 26 Jun 2014 00:48:58 +0000 (09:48 +0900)
committerEmad Mir <emir@nvidia.com>
Fri, 27 Jun 2014 18:23:03 +0000 (11:23 -0700)
commitd7254186c9a2a6aeaf360d853c332a33ef9f0ff8
tree017465e79230cb68ed88a3228f183b20e6ae2e05
parentf54e698bef01860082bc7350704ea99e241cc848
thermal: check return value of update_temperature

Checking return value of update_temperature.
If return value is not Zero, it does't handle thermal trips.

Bug 200011588
Bug 200015248

Change-Id: I084e7c53ee132b33fa377d96f6c9e70f26529ffe
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/428636
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
GVS: Gerrit_Virtual_Submit
drivers/thermal/thermal_core.c