[PATCH] thermal: intel: drop unexpected word 'is' in the comments

Jiang Jian posted 1 patch 3 years, 10 months ago
drivers/thermal/intel/x86_pkg_temp_thermal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] thermal: intel: drop unexpected word 'is' in the comments
Posted by Jiang Jian 3 years, 10 months ago
there is an unexpected word 'is' in the comments that need to be dropped

file: ./drivers/thermal/intel/x86_pkg_temp_thermal.c
line: 108

* tj-max is is interesting because threshold is set relative to this

changed to:

* tj-max is interesting because threshold is set relative to this

Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com>
---
 drivers/thermal/intel/x86_pkg_temp_thermal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thermal/intel/x86_pkg_temp_thermal.c b/drivers/thermal/intel/x86_pkg_temp_thermal.c
index 4d8edc61a78b..a0e234fce71a 100644
--- a/drivers/thermal/intel/x86_pkg_temp_thermal.c
+++ b/drivers/thermal/intel/x86_pkg_temp_thermal.c
@@ -105,7 +105,7 @@ static struct zone_device *pkg_temp_thermal_get_dev(unsigned int cpu)
 }
 
 /*
-* tj-max is is interesting because threshold is set relative to this
+* tj-max is interesting because threshold is set relative to this
 * temperature.
 */
 static int get_tj_max(int cpu, u32 *tj_max)
-- 
2.17.1
Re: [PATCH] thermal: intel: drop unexpected word 'is' in the comments
Posted by Rafael J. Wysocki 3 years, 9 months ago
On Wed, Jun 22, 2022 at 5:56 PM Jiang Jian <jiangjian@cdjrlc.com> wrote:
>
> there is an unexpected word 'is' in the comments that need to be dropped
>
> file: ./drivers/thermal/intel/x86_pkg_temp_thermal.c
> line: 108
>
> * tj-max is is interesting because threshold is set relative to this
>
> changed to:
>
> * tj-max is interesting because threshold is set relative to this
>
> Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com>
> ---
>  drivers/thermal/intel/x86_pkg_temp_thermal.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/thermal/intel/x86_pkg_temp_thermal.c b/drivers/thermal/intel/x86_pkg_temp_thermal.c
> index 4d8edc61a78b..a0e234fce71a 100644
> --- a/drivers/thermal/intel/x86_pkg_temp_thermal.c
> +++ b/drivers/thermal/intel/x86_pkg_temp_thermal.c
> @@ -105,7 +105,7 @@ static struct zone_device *pkg_temp_thermal_get_dev(unsigned int cpu)
>  }
>
>  /*
> -* tj-max is is interesting because threshold is set relative to this
> +* tj-max is interesting because threshold is set relative to this
>  * temperature.
>  */
>  static int get_tj_max(int cpu, u32 *tj_max)
> --

Applied as 5.20 material with some edits in the changelog and subject.

Thanks!