Merge tag 'v3.10.105' into update
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / thermal / thermal_core.c
index 736fbd162a86a975c75f35cb4439bbb96b60f628..cdc50a31183ea7dc4ff7b14dc2ecd5596f0b9a02 100644 (file)
@@ -924,7 +924,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;