2021-12-12 14:42:14

by Xiang wangx

[permalink] [raw]
Subject: [PATCH] iio: adc: ad7606: Fix syntax errors in comments

Delete the redundant word 'the'.

Signed-off-by: Xiang wangx <[email protected]>
---
drivers/iio/adc/ad7606.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/adc/ad7606.h b/drivers/iio/adc/ad7606.h
index 9350ef1f63b5..4f82d7c9acfd 100644
--- a/drivers/iio/adc/ad7606.h
+++ b/drivers/iio/adc/ad7606.h
@@ -62,7 +62,7 @@ struct ad7606_chip_info {
* struct ad7606_state - driver instance specific data
* @dev pointer to kernel device
* @chip_info entry in the table of chips that describes this device
- * @reg regulator info for the the power supply of the device
+ * @reg regulator info for the power supply of the device
* @bops bus operations (SPI or parallel)
* @range voltage range selection, selects which scale to apply
* @oversampling oversampling selection
--
2.20.1



2021-12-16 12:19:27

by Jonathan Cameron

[permalink] [raw]
Subject: Re: [PATCH] iio: adc: ad7606: Fix syntax errors in comments

On Sun, 12 Dec 2021 22:41:18 +0800
Xiang wangx <[email protected]> wrote:

> Delete the redundant word 'the'.
>
> Signed-off-by: Xiang wangx <[email protected]>
Applied,

Thanks,

Jonathan

> ---
> drivers/iio/adc/ad7606.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/adc/ad7606.h b/drivers/iio/adc/ad7606.h
> index 9350ef1f63b5..4f82d7c9acfd 100644
> --- a/drivers/iio/adc/ad7606.h
> +++ b/drivers/iio/adc/ad7606.h
> @@ -62,7 +62,7 @@ struct ad7606_chip_info {
> * struct ad7606_state - driver instance specific data
> * @dev pointer to kernel device
> * @chip_info entry in the table of chips that describes this device
> - * @reg regulator info for the the power supply of the device
> + * @reg regulator info for the power supply of the device
> * @bops bus operations (SPI or parallel)
> * @range voltage range selection, selects which scale to apply
> * @oversampling oversampling selection