* [PATCH] thermal: thermal_of: fix typo on __thermal_bind_params
@ 2022-04-26 6:41 Corentin Labbe
2022-05-09 9:58 ` Daniel Lezcano
0 siblings, 1 reply; 2+ messages in thread
From: Corentin Labbe @ 2022-04-26 6:41 UTC (permalink / raw)
To: amitk, daniel.lezcano, rafael, rui.zhang
Cc: linux-kernel, linux-pm, Corentin Labbe
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>
---
drivers/thermal/thermal_of.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
2.35.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] thermal: thermal_of: fix typo on __thermal_bind_params
2022-04-26 6:41 [PATCH] thermal: thermal_of: fix typo on __thermal_bind_params Corentin Labbe
@ 2022-05-09 9:58 ` Daniel Lezcano
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Lezcano @ 2022-05-09 9:58 UTC (permalink / raw)
To: Corentin Labbe, amitk, rafael, rui.zhang; +Cc: linux-kernel, linux-pm
On 26/04/2022 08:41, Corentin Labbe wrote:
> 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>
> ---
Applied, thanks
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-09 10:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-26 6:41 [PATCH] thermal: thermal_of: fix typo on __thermal_bind_params Corentin Labbe
2022-05-09 9:58 ` Daniel Lezcano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).