Thermal: List thermal_instance in thermal_cooling_device.
authorZhang Rui <rui.zhang@intel.com>
Wed, 27 Jun 2012 06:11:52 +0000 (14:11 +0800)
committerZhang Rui <rui.zhang@intel.com>
Mon, 24 Sep 2012 06:44:37 +0000 (14:44 +0800)
commitb5e4ae620b06274981781aeadc2aea50b507f7fb
tree2b0175b36cafe5b753510e6c05cb41ec301f35fc
parentcddf31b3b293fd20358ea506f22445611425811f
Thermal: List thermal_instance in thermal_cooling_device.

List thermal_instance in thermal_cooling_device so that
cooling device can know the cooling state requirement
of all the thermal instances.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Reviewed-by: Rafael J. Wysocki <rjw@sisk.pl>
Reviewed-by: Eduardo Valentin <eduardo.valentin@ti.com>
drivers/thermal/thermal_sys.c
include/linux/thermal.h