summaryrefslogtreecommitdiffstats
path: root/include/linux/thermal.h
diff options
context:
space:
mode:
authorDurgadoss R <durgadoss.r@intel.com>2012-09-18 11:05:04 +0530
committerZhang Rui <rui.zhang@intel.com>2012-11-05 14:00:08 +0800
commit0c01ebbfd3caf1dc132e0d93c8e7e9f742839d94 (patch)
tree13245049a96b852f786e0322a6e91c5f5c90715a /include/linux/thermal.h
parent1cc807a234cb988d69ba18f6a3a1c68d71e54bed (diff)
downloadblackbird-op-linux-0c01ebbfd3caf1dc132e0d93c8e7e9f742839d94.tar.gz
blackbird-op-linux-0c01ebbfd3caf1dc132e0d93c8e7e9f742839d94.zip
Thermal: Remove throttling logic out of thermal_sys.c
This patch removes the throttling logic out of thermal_sys.c; also refactors the code into smaller functions so that are easy to read/maintain. * Seperates the handling of critical and non-critical trips * Re-arranges the set_polling and device_check methods, so that all related functions are arranged in one place. * Removes the 'do_update' and 'trip_update' method, as part of moving the throttling logic out of thermal_sys.c Signed-off-by: Durgadoss R <durgadoss.r@intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'include/linux/thermal.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud