misc: nct1008: Apply hysteresis to trip_temp
authorJinyoung Park <jinyoungp@nvidia.com>
Tue, 25 Dec 2012 22:53:58 +0000 (07:53 +0900)
committerRiham Haidar <rhaidar@nvidia.com>
Sat, 12 Jan 2013 02:10:18 +0000 (18:10 -0800)
commit9b1cf8282c2b8db66ac13b7e4aa560bff383b90a
treea7d113d58b2c46a4f9b8752c5f10e627eb7f95f4
parent5df3de710d1f74254af1b4b30b851c0fc40e74cc
misc: nct1008: Apply hysteresis to trip_temp

Apply hysteresis to trip_temp in nct1008_update and() and
nct1008_ext_get_trip_temp() to be more accurate.

Bug 1200202

Change-Id: I35b0e721659e520c312c20230403578b78f15782
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/174182
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
drivers/misc/nct1008.c
include/linux/nct1008.h