Thermal: Unify the code for both active and passive cooling
authorZhang Rui <rui.zhang@intel.com>
Wed, 27 Jun 2012 06:14:05 +0000 (14:14 +0800)
committerSimone Willett <swillett@nvidia.com>
Mon, 5 Nov 2012 18:10:25 +0000 (10:10 -0800)
commit8fd0f84cee147f0249f306046c1057fcf90b35df
tree85be8410e6e33ea6e6739dda5218ace952a60676
parentfc08f7e7584cfd4af4eb067f0081162f02e4d53f
Thermal: Unify the code for both active and passive cooling

Remove thermal_zone_device_passive(). And use
thermal_zone_trip_update() and thermal_zone_do_update()
for both active and passive cooling.

bug 1059470

Change-Id: I712aa94fc927a93003bdfde2f64a3e0c5ad0ef13
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/160234
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