git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
thermal: hwmon: Properly report critical temperature in sysfs
[pandora-kernel.git]
/
drivers
/
thermal
/
thermal_sys.c
diff --git
a/drivers/thermal/thermal_sys.c
b/drivers/thermal/thermal_sys.c
index
f6fb292
..
d9d2533
100644
(file)
--- a/
drivers/thermal/thermal_sys.c
+++ b/
drivers/thermal/thermal_sys.c
@@
-486,7
+486,7
@@
temp_crit_show(struct device *dev, struct device_attribute *attr,
long temperature;
int ret;
- ret = tz->ops->get_
trip_temp(tz, 0
, &temperature);
+ ret = tz->ops->get_
crit_temp(tz
, &temperature);
if (ret)
return ret;