diff mbox series

thermal: sun8i: fix typo in comment

Message ID 20220521111145.81697-36-Julia.Lawall@inria.fr
State Accepted
Commit 11188b439974b8ef8fe8c4c6df6ab8b6486c8c45
Headers show
Series thermal: sun8i: fix typo in comment | expand

Commit Message

Julia Lawall May 21, 2022, 11:10 a.m. UTC
Spelling mistake (triple letters) in comment.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

---
 drivers/thermal/sun8i_thermal.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Vasily Khoruzhick May 21, 2022, 3:22 p.m. UTC | #1
On Sat, May 21, 2022 at 4:11 AM Julia Lawall <Julia.Lawall@inria.fr> wrote:
>
> Spelling mistake (triple letters) in comment.
> Detected with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

Acked-by: Vasily Khoruzhick <anarsoul@gmail.com>

> ---
>  drivers/thermal/sun8i_thermal.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/thermal/sun8i_thermal.c b/drivers/thermal/sun8i_thermal.c
> index d9cd23cbb671..212c87e63a66 100644
> --- a/drivers/thermal/sun8i_thermal.c
> +++ b/drivers/thermal/sun8i_thermal.c
> @@ -237,7 +237,7 @@ static int sun50i_h6_ths_calibrate(struct ths_device *tmdev,
>          * The calibration data on the H6 is the ambient temperature and
>          * sensor values that are filled during the factory test stage.
>          *
> -        * The unit of stored FT temperature is 0.1 degreee celusis.
> +        * The unit of stored FT temperature is 0.1 degree celsius.
>          *
>          * We need to calculate a delta between measured and caluclated
>          * register values and this will become a calibration offset.
>
Jernej Škrabec May 22, 2022, 7:33 a.m. UTC | #2
Dne sobota, 21. maj 2022 ob 13:10:46 CEST je Julia Lawall napisal(a):
> Spelling mistake (triple letters) in comment.
> Detected with the help of Coccinelle.
> 
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>

Best regards,
Jernej

> 
> ---
>  drivers/thermal/sun8i_thermal.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/thermal/sun8i_thermal.c
> b/drivers/thermal/sun8i_thermal.c index d9cd23cbb671..212c87e63a66 100644
> --- a/drivers/thermal/sun8i_thermal.c
> +++ b/drivers/thermal/sun8i_thermal.c
> @@ -237,7 +237,7 @@ static int sun50i_h6_ths_calibrate(struct ths_device
> *tmdev, * The calibration data on the H6 is the ambient temperature and *
> sensor values that are filled during the factory test stage.
>  	 *
> -	 * The unit of stored FT temperature is 0.1 degreee celusis.
> +	 * The unit of stored FT temperature is 0.1 degree celsius.
>  	 *
>  	 * We need to calculate a delta between measured and caluclated
>  	 * register values and this will become a calibration offset.
diff mbox series

Patch

diff --git a/drivers/thermal/sun8i_thermal.c b/drivers/thermal/sun8i_thermal.c
index d9cd23cbb671..212c87e63a66 100644
--- a/drivers/thermal/sun8i_thermal.c
+++ b/drivers/thermal/sun8i_thermal.c
@@ -237,7 +237,7 @@  static int sun50i_h6_ths_calibrate(struct ths_device *tmdev,
 	 * The calibration data on the H6 is the ambient temperature and
 	 * sensor values that are filled during the factory test stage.
 	 *
-	 * The unit of stored FT temperature is 0.1 degreee celusis.
+	 * The unit of stored FT temperature is 0.1 degree celsius.
 	 *
 	 * We need to calculate a delta between measured and caluclated
 	 * register values and this will become a calibration offset.