Commit d9dc0600 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki

thermal: thermal_hwmon: Revert recent message adjustment

For the sake of consistency, revert the second part of the
thermal_hwmon.c hunk from commit dec07d39 ("thermal: Don't use
'device' internal thermal zone structure field") after the first
part of it has been reverted.

Link: https://lore.kernel.org/linux-pm/5b084360-898b-aad0-0b8e-33acc585d71d@linaro.orgSigned-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent 4eb7c2f3
...@@ -236,7 +236,7 @@ void thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz) ...@@ -236,7 +236,7 @@ void thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz)
temp = thermal_hwmon_lookup_temp(hwmon, tz); temp = thermal_hwmon_lookup_temp(hwmon, tz);
if (unlikely(!temp)) { if (unlikely(!temp)) {
/* Should never happen... */ /* Should never happen... */
dev_dbg(hwmon->device, "temperature input lookup failed!\n"); dev_dbg(&tz->device, "temperature input lookup failed!\n");
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment