[PATCH] thermal: core: remove superfluous line in comment

Flavio Suligoi posted 1 patch 1 year, 11 months ago
drivers/thermal/thermal_core.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] thermal: core: remove superfluous line in comment
Posted by Flavio Suligoi 1 year, 11 months ago
The first and the third lines of the comment of function:

thermal_zone_device_set_polling()

belong to the same sentences, so they have to be joined together.

Signed-off-by: Flavio Suligoi <f.suligoi@asem.it>
---
 drivers/thermal/thermal_core.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c
index f7a7d43809e7..34a31bc72023 100644
--- a/drivers/thermal/thermal_core.c
+++ b/drivers/thermal/thermal_core.c
@@ -273,7 +273,6 @@ static int __init thermal_register_governors(void)
 
 /*
  * Zone update section: main control loop applied to each zone while monitoring
- *
  * in polling mode. The monitoring is done using a workqueue.
  * Same update may be done on a zone by calling thermal_zone_device_update().
  *
-- 
2.34.1
Re: [PATCH] thermal: core: remove superfluous line in comment
Posted by Rafael J. Wysocki 1 year, 11 months ago
On Mon, Mar 4, 2024 at 12:01 PM Flavio Suligoi <f.suligoi@asem.it> wrote:
>
> The first and the third lines of the comment of function:
>
> thermal_zone_device_set_polling()
>
> belong to the same sentences, so they have to be joined together.
>
> Signed-off-by: Flavio Suligoi <f.suligoi@asem.it>
> ---
>  drivers/thermal/thermal_core.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c
> index f7a7d43809e7..34a31bc72023 100644
> --- a/drivers/thermal/thermal_core.c
> +++ b/drivers/thermal/thermal_core.c
> @@ -273,7 +273,6 @@ static int __init thermal_register_governors(void)
>
>  /*
>   * Zone update section: main control loop applied to each zone while monitoring
> - *
>   * in polling mode. The monitoring is done using a workqueue.
>   * Same update may be done on a zone by calling thermal_zone_device_update().
>   *
> --

Applied as 6.9 material with some edits in the subject and changelog, thanks!