浏览代码

thermal: rcar: remove machine_power_off() from rcar_thermal_notify()

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>
Kuninori Morimoto 12 年之前
父节点
当前提交
e6e053f4e4
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/thermal/rcar_thermal.c

+ 0 - 1
drivers/thermal/rcar_thermal.c

@@ -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;