* [PATCH] iio: adc: for kernel comment
@ 2023-09-21 3:14 Andy Shen Shen
2023-09-23 17:39 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: Andy Shen Shen @ 2023-09-21 3:14 UTC (permalink / raw)
To: jic23, lars, robh; +Cc: linux-iio, linux-kernel, Andy Shen Shen
In line 460 of the palmas_gpadc.c file, fix kernel comment errors.
Signed-off-by: Andy Shen Shen <shengaoya@inspur.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 e202ea18af10..203cbbc70719 100644
--- a/drivers/iio/adc/palmas_gpadc.c
+++ b/drivers/iio/adc/palmas_gpadc.c
@@ -457,7 +457,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,
--
2.31.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] iio: adc: for kernel comment
2023-09-21 3:14 [PATCH] iio: adc: for kernel comment Andy Shen Shen
@ 2023-09-23 17:39 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2023-09-23 17:39 UTC (permalink / raw)
To: Andy Shen Shen; +Cc: lars, robh, linux-iio, linux-kernel
On Thu, 21 Sep 2023 11:14:44 +0800
Andy Shen Shen <shengaoya@inspur.com> wrote:
> In line 460 of the palmas_gpadc.c file, fix kernel comment errors.
For future reference (I've tweaked it this time) please include
the driver name in the description and also say what the change
was at least briefly (drop duplicated the).
Applied to the togreg branch of iio.git and pushed out as testing because
other things on that branch need some build testing etc.
Thanks,
Jonathan
>
> Signed-off-by: Andy Shen Shen <shengaoya@inspur.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 e202ea18af10..203cbbc70719 100644
> --- a/drivers/iio/adc/palmas_gpadc.c
> +++ b/drivers/iio/adc/palmas_gpadc.c
> @@ -457,7 +457,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,
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-23 17:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-21 3:14 [PATCH] iio: adc: for kernel comment Andy Shen Shen
2023-09-23 17:39 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).