diff mbox series

thermal: intel: drop unexpected word 'is' in the comments

Message ID 20220622155543.9780-1-jiangjian@cdjrlc.com
State New
Headers show
Series thermal: intel: drop unexpected word 'is' in the comments | expand

Commit Message

Jiang Jian June 22, 2022, 3:55 p.m. UTC
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(-)

Comments

Rafael J. Wysocki July 12, 2022, 6:24 p.m. UTC | #1
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!
diff mbox series

Patch

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)