linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] thermal: thermal_of: fix typo on __thermal_bind_params
@ 2022-04-26  6:41 Corentin Labbe
  2022-05-09  9:58 ` Daniel Lezcano
  2022-05-19 12:44 ` [thermal: thermal/next] " thermal-bot for Corentin Labbe
  0 siblings, 2 replies; 3+ 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] 3+ 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
  2022-05-19 12:44 ` [thermal: thermal/next] " thermal-bot for Corentin Labbe
  1 sibling, 0 replies; 3+ 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] 3+ messages in thread

* [thermal: thermal/next] 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
@ 2022-05-19 12:44 ` thermal-bot for Corentin Labbe
  1 sibling, 0 replies; 3+ messages in thread
From: thermal-bot for Corentin Labbe @ 2022-05-19 12:44 UTC (permalink / raw)
  To: linux-pm; +Cc: Corentin Labbe, Daniel Lezcano, rui.zhang, amitk

The following commit has been merged into the thermal/next branch of thermal:

Commit-ID:     44b965d8c44e8e86a43e11fc46adfc60da540c77
Gitweb:        https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//44b965d8c44e8e86a43e11fc46adfc60da540c77
Author:        Corentin Labbe <clabbe@baylibre.com>
AuthorDate:    Tue, 26 Apr 2022 06:41:13 
Committer:     Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Thu, 19 May 2022 12:11:52 +02:00

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>
---
 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 da48480..b65d435 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-19 12:44 UTC | newest]

Thread overview: 3+ 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
2022-05-19 12:44 ` [thermal: thermal/next] " thermal-bot for Corentin Labbe

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).