projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0a5172
)
thermal: rcar: remove machine_power_off() from rcar_thermal_notify()
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Thu, 31 Jan 2013 09:26:13 +0000
(09:26 +0000)
committer
Zhang Rui
<rui.zhang@intel.com>
Wed, 6 Feb 2013 06:13:59 +0000
(14:13 +0800)
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>
drivers/thermal/rcar_thermal.c
patch
|
blob
|
history
diff --git
a/drivers/thermal/rcar_thermal.c
b/drivers/thermal/rcar_thermal.c
index 80aae3cf65eb376999697f4a66061a328dd10b5c..2eebcadb4c995b94741cd2c342de999998027b06 100644
(file)
--- 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;