Loading drivers/thermal/thermal_sys.c +2 −1 Original line number Original line Diff line number Diff line Loading @@ -560,6 +560,7 @@ thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz) tz->hwmon = NULL; tz->hwmon = NULL; device_remove_file(hwmon->device, &tz->temp_input.attr); device_remove_file(hwmon->device, &tz->temp_input.attr); if (tz->ops->get_crit_temp) device_remove_file(hwmon->device, &tz->temp_crit.attr); device_remove_file(hwmon->device, &tz->temp_crit.attr); mutex_lock(&thermal_list_lock); mutex_lock(&thermal_list_lock); Loading Loading
drivers/thermal/thermal_sys.c +2 −1 Original line number Original line Diff line number Diff line Loading @@ -560,6 +560,7 @@ thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz) tz->hwmon = NULL; tz->hwmon = NULL; device_remove_file(hwmon->device, &tz->temp_input.attr); device_remove_file(hwmon->device, &tz->temp_input.attr); if (tz->ops->get_crit_temp) device_remove_file(hwmon->device, &tz->temp_crit.attr); device_remove_file(hwmon->device, &tz->temp_crit.attr); mutex_lock(&thermal_list_lock); mutex_lock(&thermal_list_lock); Loading