Skip to content

Commit d9dc060

Browse files
committed
thermal: thermal_hwmon: Revert recent message adjustment
For the sake of consistency, revert the second part of the thermal_hwmon.c hunk from commit dec07d3 ("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.org Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
1 parent 4eb7c2f commit d9dc060

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/thermal/thermal_hwmon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ void thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz)
236236
temp = thermal_hwmon_lookup_temp(hwmon, tz);
237237
if (unlikely(!temp)) {
238238
/* Should never happen... */
239-
dev_dbg(hwmon->device, "temperature input lookup failed!\n");
239+
dev_dbg(&tz->device, "temperature input lookup failed!\n");
240240
return;
241241
}
242242

0 commit comments

Comments
 (0)