2024-03-04 11:02:02

by FLAVIO SULIGOI

[permalink] [raw]
Subject: [PATCH] thermal: core: remove superfluous line in comment

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 <[email protected]>
---
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



2024-03-05 12:20:08

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH] thermal: core: remove superfluous line in comment

On Mon, Mar 4, 2024 at 12:01 PM Flavio Suligoi <[email protected]> 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 <[email protected]>
> ---
> 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!