]> git.baikalelectronics.ru Git - kernel.git/commit
Thermal: Make thermal_cdev_update as a global function
authorDurgadoss R <durgadoss.r@intel.com>
Tue, 18 Sep 2012 05:35:00 +0000 (11:05 +0530)
committerZhang Rui <rui.zhang@intel.com>
Mon, 5 Nov 2012 06:00:06 +0000 (14:00 +0800)
commit0d7e2e442acc787f5c0cd9fd3ee34d888c240524
tree77b82f15c80938766104628b13ba7f3e1cc7299e
parent2df7704428457eda554974018b5382af2735e693
Thermal: Make thermal_cdev_update as a global function

This patch makes the thermal_cdev_update function as a
global one, so that other files can use it. This function
serves as a single arbitrator to set the state of a cooling
device.

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