X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=kernel%2Fdrivers%2Fthermal%2Fthermal_hwmon.c;fp=kernel%2Fdrivers%2Fthermal%2Fthermal_hwmon.c;h=705b0cafedbb442d6f96e09b606171c4e1e77b9d;hb=52f993b8e89487ec9ee15a7fb4979e0f09a45b27;hp=06fd2ed9ef9d13bf0ab09f727020f873152b8da9;hpb=c189ccac5702322ed843fe17057035b7222a59b6;p=kvmfornfv.git diff --git a/kernel/drivers/thermal/thermal_hwmon.c b/kernel/drivers/thermal/thermal_hwmon.c index 06fd2ed9e..705b0cafe 100644 --- a/kernel/drivers/thermal/thermal_hwmon.c +++ b/kernel/drivers/thermal/thermal_hwmon.c @@ -98,7 +98,7 @@ temp_crit_show(struct device *dev, struct device_attribute *attr, char *buf) int temperature; int ret; - ret = tz->ops->get_trip_temp(tz, 0, &temperature); + ret = tz->ops->get_crit_temp(tz, &temperature); if (ret) return ret;