]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: core: introduce thermal_of_cooling_device_register
authorEduardo Valentin <eduardo.valentin@ti.com>
Thu, 26 Sep 2013 19:55:01 +0000 (15:55 -0400)
committerEduardo Valentin <eduardo.valentin@ti.com>
Wed, 4 Dec 2013 13:31:34 +0000 (09:31 -0400)
commite5d0c481b2b7ee4f8982524de7b3a6dcb6d6943b
tree51ba653f45fb1858c9f859b674f7101be8eb2fb4
parentbab6a2482e6fccc8fb3579a6f751c2b7c7df0615
thermal: core: introduce thermal_of_cooling_device_register

This patch adds a new API to allow registering cooling devices
in the thermal framework derived from device tree nodes.

This API links the cooling device with the device tree node
so that binding with thermal zones is possible, given
that thermal zones are pointing to cooling device
device tree nodes.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
drivers/thermal/thermal_core.c
include/linux/thermal.h