]> git.karo-electronics.de Git - linux-beck.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, 5 Nov 2012 06:00:08 +0000 (14:00 +0800)
commitf2b4caafd4aa64c9438b0a94af78b127228e6905
tree164004dabe45f3cf1d2c4575258e23c3907636fe
parent0c01ebbfd3caf1dc132e0d93c8e7e9f742839d94
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