summaryrefslogtreecommitdiff
path: root/drivers/thermal/thermal_of.c
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe@baylibre.com>2022-04-26 09:41:13 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2022-05-19 13:11:52 +0300
commit44b965d8c44e8e86a43e11fc46adfc60da540c77 (patch)
tree20b6fe7dfb1f54e7cca8717331c6b21272070c45 /drivers/thermal/thermal_of.c
parentcb4487d2b4043bbe98f60f2628387b40fa4896f8 (diff)
downloadlinux-44b965d8c44e8e86a43e11fc46adfc60da540c77.tar.xz
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>
Diffstat (limited to 'drivers/thermal/thermal_of.c')
-rw-r--r--drivers/thermal/thermal_of.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/thermal_of.c b/drivers/thermal/thermal_of.c
index da484800906f..b65d435cb92f 100644
--- a/drivers/thermal/thermal_of.c
+++ b/drivers/thermal/thermal_of.c
@@ -35,7 +35,7 @@ struct __thermal_cooling_bind_param {
};
/**
- * struct __thermal_bind_param - a match between trip and cooling device
+ * struct __thermal_bind_params - a match between trip and cooling device
* @tcbp: a pointer to an array of cooling devices
* @count: number of elements in array
* @trip_id: the trip point index