[PATCH] iio: Fix typo in comment

Xiang wangx posted 1 patch 3 years, 10 months ago
drivers/iio/gyro/bmg160_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] iio: Fix typo in comment
Posted by Xiang wangx 3 years, 10 months ago
Delete the redundant word 'in'.

Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
---
 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
Re: [PATCH] iio: Fix typo in comment
Posted by Jonathan Cameron 3 years, 10 months ago
On Thu, 16 Jun 2022 22:15:22 +0800
Xiang wangx <wangxiang@cdjrlc.com> wrote:

> Delete the redundant word 'in'.
> 
> Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
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