[PATCH] thermal: core: Fix typo and indentation in comments

Thorsten Blum posted 1 patch 1 week, 5 days ago
drivers/thermal/thermal_core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] thermal: core: Fix typo and indentation in comments
Posted by Thorsten Blum 1 week, 5 days ago
s/tmperature/temperature/ and adjust the indentation of the @ops
parameter description to improve readability.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
---
 drivers/thermal/thermal_core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c
index 90e7edf16a52..dc9f7416f7ff 100644
--- a/drivers/thermal/thermal_core.c
+++ b/drivers/thermal/thermal_core.c
@@ -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
-- 
Thorsten Blum <thorsten.blum@linux.dev>
GPG: 1D60 735E 8AEF 3BE4 73B6  9D84 7336 78FD 8DFE EAD4
Re: [PATCH] thermal: core: Fix typo and indentation in comments
Posted by Rafael J. Wysocki 3 days, 23 hours ago
On Sat, Dec 6, 2025 at 6:44 PM Thorsten Blum <thorsten.blum@linux.dev> wrote:
>
> s/tmperature/temperature/ and adjust the indentation of the @ops
> parameter description to improve readability.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
> ---
>  drivers/thermal/thermal_core.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c
> index 90e7edf16a52..dc9f7416f7ff 100644
> --- a/drivers/thermal/thermal_core.c
> +++ b/drivers/thermal/thermal_core.c
> @@ -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
> --
> Thorsten Blum <thorsten.blum@linux.dev>
> GPG: 1D60 735E 8AEF 3BE4 73B6  9D84 7336 78FD 8DFE EAD4

Applied as 6.19-rc material, thanks!