Linux IIO development
 help / color / mirror / Atom feed
* [PATCH] iio: adc: palmas: Fix typo in threshold calculation comment
@ 2024-11-23 11:27 Kuldeep Pisda
  2024-12-01 12:58 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Kuldeep Pisda @ 2024-11-23 11:27 UTC (permalink / raw)
  To: jic23, lars; +Cc: linux-iio, linux-kernel, Kuldeep Pisda

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

Signed-off-by: Kuldeep Pisda <pisdak79@gmail.com>
---
 drivers/iio/adc/palmas_gpadc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/adc/palmas_gpadc.c b/drivers/iio/adc/palmas_gpadc.c
index 203cbbc70719..67d567ee21b4 100644
--- a/drivers/iio/adc/palmas_gpadc.c
+++ b/drivers/iio/adc/palmas_gpadc.c
@@ -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,
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] iio: adc: palmas: Fix typo in threshold calculation comment
  2024-11-23 11:27 [PATCH] iio: adc: palmas: Fix typo in threshold calculation comment Kuldeep Pisda
@ 2024-12-01 12:58 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2024-12-01 12:58 UTC (permalink / raw)
  To: Kuldeep Pisda; +Cc: lars, linux-iio, linux-kernel

On Sat, 23 Nov 2024 11:27:57 +0000
Kuldeep Pisda <pisdak79@gmail.com> wrote:

> Fix a typo in the GPADC threshold calculation documentation where
> "paramenters" was incorrectly written instead of "parameters".
> 
> Signed-off-by: Kuldeep Pisda <pisdak79@gmail.com>
Hi. I already have a patch queued that fixes this up.

Thanks,

Jonathan

> ---
>  drivers/iio/adc/palmas_gpadc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iio/adc/palmas_gpadc.c b/drivers/iio/adc/palmas_gpadc.c
> index 203cbbc70719..67d567ee21b4 100644
> --- a/drivers/iio/adc/palmas_gpadc.c
> +++ b/drivers/iio/adc/palmas_gpadc.c
> @@ -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,


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-01 12:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-23 11:27 [PATCH] iio: adc: palmas: Fix typo in threshold calculation comment Kuldeep Pisda
2024-12-01 12:58 ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox