2022-06-16 14:36:25

by Xiang wangx

[permalink] [raw]
Subject: [PATCH] iio: Fix typo in comment

Delete the redundant word 'in'.

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

diff --git a/drivers/iio/gyro/bmg160_core.c b/drivers/iio/gyro/bmg160_core.c
index 81a6d09788bd..cedd9f02ea21 100644
--- a/drivers/iio/gyro/bmg160_core.c
+++ b/drivers/iio/gyro/bmg160_core.c
@@ -766,7 +766,7 @@ static int bmg160_write_event_config(struct iio_dev *indio_dev,
return 0;
}
/*
- * We will expect the enable and disable to do operation in
+ * We will expect the enable and disable to do operation
* in reverse order. This will happen here anyway as our
* resume operation uses sync mode runtime pm calls, the
* suspend operation will be delayed by autosuspend delay
--
2.36.1


2022-06-18 15:41:48

by Jonathan Cameron

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

On Thu, 16 Jun 2022 22:15:22 +0800
Xiang wangx <[email protected]> wrote:

> Delete the redundant word 'in'.
>
> Signed-off-by: Xiang wangx <[email protected]>
Applied, but with patch title changed to reflect the driver in question.

iio: gyro: bmg160: ...

> ---
> drivers/iio/gyro/bmg160_core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/gyro/bmg160_core.c b/drivers/iio/gyro/bmg160_core.c
> index 81a6d09788bd..cedd9f02ea21 100644
> --- a/drivers/iio/gyro/bmg160_core.c
> +++ b/drivers/iio/gyro/bmg160_core.c
> @@ -766,7 +766,7 @@ static int bmg160_write_event_config(struct iio_dev *indio_dev,
> return 0;
> }
> /*
> - * We will expect the enable and disable to do operation in
> + * We will expect the enable and disable to do operation
> * in reverse order. This will happen here anyway as our
> * resume operation uses sync mode runtime pm calls, the
> * suspend operation will be delayed by autosuspend delay

2023-07-22 18:22:42

by Jonathan Cameron

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

On Wed, 19 Jul 2023 00:28:15 +0800
[email protected] wrote:

Hi,

This didn't make the mailing list - I think because you sent
it as an html email. Please fix that and resend as then it'll will
be tracked in patchwork / b4 tooling will work etc.

Thanks,

Jonathan

>
> There is rebundant word 'actual' in comment, remove one.
>
> Signed-off-by: Mao Zhu <[email protected]>
> ---
> drivers/iio/gyro/adxrs450.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/gyro/adxrs450.c b/drivers/iio/gyro/adxrs450.c
> index f84438e0c42c..195c09beb937 100644
> --- a/drivers/iio/gyro/adxrs450.c
> +++ b/drivers/iio/gyro/adxrs450.c
> @@ -128,7 +128,7 @@ static int adxrs450_spi_read_reg_16(struct iio_dev
> *indio_dev,
>
> /**
> * adxrs450_spi_write_reg_16() - write 2 bytes data to a register pair
> - * @indio_dev: device associated with child of actual actual iio_dev
> + * @indio_dev: device associated with child of actual iio_dev
> * @reg_address: the address of the lower of the two registers,which
> should be
> * an even address, the second register's address is reg_address +
> 1.
> * @val: value to be written.