Skip to content

Commit

Permalink
thermal: rcar: remove machine_power_off() from rcar_thermal_notify()
Browse files Browse the repository at this point in the history
Machine/System power-off is run in thermal frame work if
it become critical temperature.
This patch removed pointless machine_power_off()
from thermal_zone_device_ops :: .notify

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
  • Loading branch information
Kuninori Morimoto authored and Zhang Rui committed Feb 6, 2013
1 parent e0a5172 commit e6e053f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/thermal/rcar_thermal.c
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ static int rcar_thermal_notify(struct thermal_zone_device *zone,
case THERMAL_TRIP_CRITICAL:
/* FIXME */
dev_warn(dev, "Thermal reached to critical temperature\n");
machine_power_off();
break;
default:
break;
Expand Down

0 comments on commit e6e053f

Please sign in to comment.