summaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorKuninori Morimoto2013-01-31 10:26:13 +0100
committerZhang Rui2013-02-06 07:13:59 +0100
commite6e053f4e47634c07993cb31893556d24e18b65e (patch)
treea6850c5e46f5c6e5bf7f160e1fbad415d7aa92c5 /drivers/thermal
parentthermal: rcar: add interrupt support (diff)
downloadkernel-qcow2-linux-e6e053f4e47634c07993cb31893556d24e18b65e.tar.gz
kernel-qcow2-linux-e6e053f4e47634c07993cb31893556d24e18b65e.tar.xz
kernel-qcow2-linux-e6e053f4e47634c07993cb31893556d24e18b65e.zip
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>
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/rcar_thermal.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/thermal/rcar_thermal.c b/drivers/thermal/rcar_thermal.c
index 80aae3cf65eb..2eebcadb4c99 100644
--- a/drivers/thermal/rcar_thermal.c
+++ b/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;