Skip to content

Commit 44b965d

Browse files
montjoiedlezcano
authored andcommitted
thermal: thermal_of: fix typo on __thermal_bind_params
Add a missing s to __thermal_bind_param kernel doc comment. This fixes the following sparse warnings: drivers/thermal/thermal_of.c:50: warning: expecting prototype for struct __thermal_bind_param. Prototype was for struct __thermal_bind_params instead Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Link: https://lore.kernel.org/r/20220426064113.3787826-1-clabbe@baylibre.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
1 parent cb4487d commit 44b965d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/thermal/thermal_of.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ struct __thermal_cooling_bind_param {
3535
};
3636

3737
/**
38-
* struct __thermal_bind_param - a match between trip and cooling device
38+
* struct __thermal_bind_params - a match between trip and cooling device
3939
* @tcbp: a pointer to an array of cooling devices
4040
* @count: number of elements in array
4141
* @trip_id: the trip point index

0 commit comments

Comments
 (0)