thermal: core: Fix typo and indentation in comments
PATCH 1/1 thermal: core: Fix typo and indentation in comments
s/tmperature/temperature/ and adjust the indentation of the @ops parameter description to improve readability.
Signed-off-by Thorsten Blum <[email protected]>
--- drivers/thermal/thermal_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/thermal/thermal_core.c +2 -2
@@ -500,7 +500,7 @@ void thermal_zone_set_trip_hyst(struct thermal_zone_device *tz,WRITE_ONCE (trip->hysteresis, hyst);thermal_notify_tz_trip_change (tz, trip);/* -* If the zone temperature is above or at the trip tmperature, the trip +* If the zone temperature is above or at the trip temperature, the trip * is in the trips_reached list and its threshold is equal to its low * temperature. It needs to stay in that list, but its threshold needs * to be updated and the list ordering may need to be restored.
@@ -1043,7 +1043,7 @@ static void thermal_cooling_device_init_complete(struct thermal_cooling_device ** @np: a pointer to a device tree node. * @type: the thermal cooling device type. * @devdata: device private data. -* @ops: standard thermal cooling devices callbacks. +* @ops: standard thermal cooling devices callbacks. * * This interface function adds a new thermal cooling device (fan/processor/...) * to /sys/class/thermal/ folder as cooling_device[0-*]. It tries to bind itself
Signature · 2 lines
Thorsten Blum <[email protected]> GPG: 1D60 735E 8AEF 3BE4 73B6 9D84 7336 78FD 8DFE EAD4
Quoted 32 lines · Thorsten Blum
s/tmperature/temperature/ and adjust the indentation of the @ops parameter description to improve readability.
Signed-off-by Thorsten Blum <[email protected]>--- drivers/thermal/thermal_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/thermal/thermal_core.c +2
-3@@ -500,7 +500,7 @@ void thermal_zone_set_trip_hyst(struct thermal_zone_device *tz,WRITE_ONCE (trip->hysteresis, hyst);thermal_notify_tz_trip_change (tz, trip);/* -* If the zone temperature is above or at the trip tmperature, the trip +* If the zone temperature is above or at the trip temperature, the trip * is in the trips_reached list and its threshold is equal to its low * temperature. It needs to stay in that list, but its threshold needs * to be updated and the list ordering may need to be restored. @@ -1043,7 +1043,7 @@ static void thermal_cooling_device_init_complete(struct thermal_cooling_device ** @np: a pointer to a device tree node. * @type: the thermal cooling device type. * @devdata: device private data. -* @ops: standard thermal cooling devices callbacks. +* @ops: standard thermal cooling devices callbacks. * * This interface function adds a new thermal cooling device (fan/processor/...) * to /sys/class/thermal/ folder as cooling_device[0-*]. It tries to bind itself --
Quoted 2 lines
Thorsten Blum <[email protected]>
GPG: 1D60 735E 8AEF 3BE4 73B6 9D84 7336 78FD 8DFE EAD4
Applied as 6.19-rc material, thanks!