drivers: misc: therm_est: Add multiple trip points support
authorJinyoung Park <jinyoungp@nvidia.com>
Thu, 21 Mar 2013 07:44:38 +0000 (16:44 +0900)
committerMrutyunjay Sawant <msawant@nvidia.com>
Thu, 28 Mar 2013 10:15:34 +0000 (03:15 -0700)
commitd832906d904916a263c831d1bf55031070818991
tree507c62e1c3ce018deae9cb1af4cba6f96466b6db
parentab0ae0ae1166245548f24ce26b1b41f24388ba33
drivers: misc: therm_est: Add multiple trip points support

Replaced cdev_typa and trip_temp to struct thermal_trip_info to support
multiple trip points on therm_est.
And the struct thermal_trip_info has hysteresis for trip temp. So applied
hysteresis to trip temp.

Bug 1233363
Bug 1236444

Change-Id: I6ce2806a323c25ec298291d1e4ee067c3adaebfa
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/211123
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
drivers/misc/therm_est.c
include/linux/therm_est.h