2023-07-12 10:12:14

by pangzizhen001

[permalink] [raw]
Subject: Fwd: [PATCH] iio/adc: Fix comment typo

Delete duplicate word "the"

Signed-off-by: wangjianli <[email protected]>
---
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 27b2632c1037..76e0a4d8af3b 100644
--- a/drivers/iio/adc/palmas_gpadc.c
+++ b/drivers/iio/adc/palmas_gpadc.c
@@ -458,7 +458,7 @@ static int palmas_gpadc_get_calibrated_code(struct
palmas_gpadc *adc,
*
* 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 the channel is calibrated (trimmed) or not.
+ * the channel is calibrated (trimmed) or not.
*/
static int palmas_gpadc_threshold_with_tolerance(int val, const int
INL,
const int gain_error,


2023-07-15 18:28:36

by Jonathan Cameron

[permalink] [raw]
Subject: Re: [PATCH] iio/adc: Fix comment typo

On Wed, 12 Jul 2023 18:00:25 +0800
[email protected] wrote:

> Delete duplicate word "the"
>
> Signed-off-by: wangjianli <[email protected]>
Please resend without the Fwd: prefix on the email.
That stops the b4 tool from picking this up automatically.

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 27b2632c1037..76e0a4d8af3b 100644
> --- a/drivers/iio/adc/palmas_gpadc.c
> +++ b/drivers/iio/adc/palmas_gpadc.c
> @@ -458,7 +458,7 @@ static int palmas_gpadc_get_calibrated_code(struct
> palmas_gpadc *adc,
> *
> * 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 the channel is calibrated (trimmed) or not.
> + * the channel is calibrated (trimmed) or not.
> */
> static int palmas_gpadc_threshold_with_tolerance(int val, const int
> INL,
> const int gain_error,