]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Thermal: Add a notification API
authorDurgadoss R <durgadoss.r@intel.com>
Tue, 18 Sep 2012 05:35:05 +0000 (11:05 +0530)
committerZhang Rui <rui.zhang@intel.com>
Mon, 24 Sep 2012 06:44:39 +0000 (14:44 +0800)
commit57a68ed3849c6476fa7abc28ad8e82ff8fdea8e4
treec1dc44b910b9b12a3e069fe554e8f8c41a505003
parentbc3f847a193d63a7b9ac56dd6adfe51d391aea58
Thermal: Add a notification API

This patch adds a notification API which the sensor drivers'
can use to notify the framework. The framework then takes
care of the throttling according to the configured policy.

Signed-off-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/thermal_sys.c
include/linux/thermal.h