]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
thermal: core: Fix typo and indentation in comments
authorThorsten Blum <thorsten.blum@linux.dev>
Sat, 6 Dec 2025 17:42:45 +0000 (18:42 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 15 Dec 2025 11:47:39 +0000 (12:47 +0100)
s/tmperature/temperature/ and adjust the indentation of the @ops
parameter description to improve readability.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20251206174245.116391-2-thorsten.blum@linux.dev
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/thermal_core.c

index 17ca5c082643592b46cbbe708c716230fac215ef..89758c9934ec67723356415783a6bfaa13f59fc8 100644 (file)
@@ -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