lkml.org 
[lkml]   [2021]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH][next] thermal/drivers: Fix spelling mistake "caliberation" -> "calibration"
Date
There are spelling mistakes in a comment and a dev_dbg message. Fix them.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
drivers/thermal/rzg2l_thermal.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/thermal/rzg2l_thermal.c b/drivers/thermal/rzg2l_thermal.c
index d47d4a30cd6c..8d55e401d185 100644
--- a/drivers/thermal/rzg2l_thermal.c
+++ b/drivers/thermal/rzg2l_thermal.c
@@ -99,7 +99,7 @@ static int rzg2l_thermal_get_temp(void *devdata, int *temp)

/* The temperature Tj is calculated by the formula
* Tj = (dsensor − calib1) * 165/ (calib0 − calib1) − 40
- * where calib0 and calib1 are the caliberation values.
+ * where calib0 and calib1 are the calibration values.
*/
val = ((dsensor - priv->calib1) * (MCELSIUS(165) /
(priv->calib0 - priv->calib1))) - MCELSIUS(40);
@@ -209,7 +209,7 @@ static int rzg2l_thermal_probe(struct platform_device *pdev)
if (ret)
goto err;

- dev_dbg(dev, "TSU probed with %s caliberation values",
+ dev_dbg(dev, "TSU probed with %s calibration values",
rzg2l_thermal_read(priv, OTPTSUTRIM_REG(0)) ? "hw" : "sw");

return 0;
--
2.33.1
\
 
 \ /
  Last update: 2021-12-01 14:14    [W:0.672 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site