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)
committerZhang Rui <rui.zhang@intel.com>
Mon, 24 Sep 2012 06:44:37 +0000 (14:44 +0800)
commit908b9fb792b77663a007af240e7ee89460de2025
treeaf3ac03a4823028a51b0f067a9da291368ff65be
parentce119f83257aae29b84a5bfad0669e8348437b18
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.

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