Skip to contentSkip to conversation

iio: adc: palmas: Fix typo in threshold calculation comment

PATCH In review Kuldeep Pisda 2 participants 2 messages Nov 23, 2024 – Dec 1, 2024 IIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iio: adc: palmas: Fix typo in threshold calculation comment

Fix a typo in the GPADC threshold calculation documentation where "paramenters" was incorrectly written instead of "parameters".

---
 drivers/iio/adc/palmas_gpadc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/adc/palmas_gpadc.c +1 -1
index 203cbbc70719..67d567ee21b4 100644
@@ -456,7 +456,7 @@ static int palmas_gpadc_get_calibrated_code(struct palmas_gpadc *adc,
  *   raw high threshold = (ideal threshold + INL) * gain error + offset error
  *
  * The gain error include both gain error, as specified in the datasheet, and
- * the gain error drift. These paramenters vary depending on device and whether
+ * the gain error drift. These parameters vary depending on device and whether
  * the channel is calibrated (trimmed) or not.
  */
 static int palmas_gpadc_threshold_with_tolerance(int val, const int INL,
Signature · 1 line
2.43.0
maintainer
#1 lore raw
Quoted 4 lines · On Sat, 23 Nov 2024 11:27:57 +0000 Kuldeep Pisda <[email protected]> wrote:

Fix a typo in the GPADC threshold calculation documentation where "paramenters" was incorrectly written instead of "parameters".

Hi. I already have a patch queued that fixes this up.

Thanks,

Jonathan

Quoted 17 lines
---
 drivers/iio/adc/palmas_gpadc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/adc/palmas_gpadc.c +1 -1
index 203cbbc70719..67d567ee21b4 100644
@@ -456,7 +456,7 @@ static int palmas_gpadc_get_calibrated_code(struct palmas_gpadc *adc,
  *   raw high threshold = (ideal threshold + INL) * gain error + offset error
  *
  * The gain error include both gain error, as specified in the datasheet, and
- * the gain error drift. These paramenters vary depending on device and whether
+ * the gain error drift. These parameters vary depending on device and whether
  * the channel is calibrated (trimmed) or not.
  */
 static int palmas_gpadc_threshold_with_tolerance(int val, const int INL,