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)
committerSimone Willett <swillett@nvidia.com>
Mon, 5 Nov 2012 18:10:19 +0000 (10:10 -0800)
commit8e47bf314910ef85bafbbabe673bd1a5b3d28627
treec480f4ab43a366629930f127c316fc159424968d
parent8c9c87626ee355038f65a516fb6b9d07de0bf062
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.

bug 1059470

Change-Id: I98042513defa42657e93cfdfe263b166bca55139
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>
Reviewed-on: http://git-master/r/159973
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Joshua Primero <jprimero@nvidia.com>
Tested-by: Joshua Primero <jprimero@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
drivers/thermal/thermal_sys.c
include/linux/thermal.h