Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e6e053f4 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Zhang Rui
Browse files

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: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent e0a5172e
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -261,7 +261,6 @@ static int rcar_thermal_notify(struct thermal_zone_device *zone,
	case THERMAL_TRIP_CRITICAL:
	case THERMAL_TRIP_CRITICAL:
		/* FIXME */
		/* FIXME */
		dev_warn(dev, "Thermal reached to critical temperature\n");
		dev_warn(dev, "Thermal reached to critical temperature\n");
		machine_power_off();
		break;
		break;
	default:
	default:
		break;
		break;