Skip to content

Commit d113735

Browse files
tobluxrafaeljw
authored andcommitted
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 <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>
1 parent 450f9cd commit d113735

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/thermal/thermal_core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ void thermal_zone_set_trip_hyst(struct thermal_zone_device *tz,
500500
WRITE_ONCE(trip->hysteresis, hyst);
501501
thermal_notify_tz_trip_change(tz, trip);
502502
/*
503-
* If the zone temperature is above or at the trip tmperature, the trip
503+
* If the zone temperature is above or at the trip temperature, the trip
504504
* is in the trips_reached list and its threshold is equal to its low
505505
* temperature. It needs to stay in that list, but its threshold needs
506506
* 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 *
10431043
* @np: a pointer to a device tree node.
10441044
* @type: the thermal cooling device type.
10451045
* @devdata: device private data.
1046-
* @ops: standard thermal cooling devices callbacks.
1046+
* @ops: standard thermal cooling devices callbacks.
10471047
*
10481048
* This interface function adds a new thermal cooling device (fan/processor/...)
10491049
* to /sys/class/thermal/ folder as cooling_device[0-*]. It tries to bind itself

0 commit comments

Comments
 (0)