thermal: cpu_cooling: introduce of_cpufreq_cooling_register
authorEduardo Valentin <eduardo.valentin@ti.com>
Thu, 12 Sep 2013 23:26:45 +0000 (19:26 -0400)
committerEduardo Valentin <eduardo.valentin@ti.com>
Wed, 4 Dec 2013 13:33:34 +0000 (09:33 -0400)
commit39d99cff76bf2992fd6dd4b1fc62da139e62e90c
tree632c6d587d4bac910705dd43fa4f854a1f9bb901
parenta116b5d44f144586ef03a93f14ddc63f4a85e906
thermal: cpu_cooling: introduce of_cpufreq_cooling_register

This patch introduces an API to register cpufreq cooling device
based on device tree node.

The registration via device tree node differs from normal
registration due to the fact that it is needed to fill
the device_node structure in order to be able to match
the cooling devices with trip points.

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/Kconfig
drivers/thermal/cpu_cooling.c
include/linux/cpu_cooling.h