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

From: Rafael J. Wysocki
Date: Tue Jul 12 2022 - 14:25:11 EST


On Wed, Jun 22, 2022 at 5:56 PM Jiang Jian <jiangjian@xxxxxxxxxx> 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@xxxxxxxxxx>
> ---
> 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!