Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 797b10a0 authored by Len Brown's avatar Len Brown
Browse files

Merge branch 'bugfix-thermal' into release

parents 8a9026d2 4fdfbe85
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -560,6 +560,7 @@ thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz)

	tz->hwmon = NULL;
	device_remove_file(hwmon->device, &tz->temp_input.attr);
	if (tz->ops->get_crit_temp)
		device_remove_file(hwmon->device, &tz->temp_crit.attr);

	mutex_lock(&thermal_list_lock);