2022-08-23 17:24:23

by wangjianli

[permalink] [raw]
Subject: [PATCH] iio/accel: fix repeated words in comments

Delete the redundant word 'in'.

Signed-off-by: wangjianli <[email protected]>
---
drivers/iio/accel/kxcjk-1013.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/accel/kxcjk-1013.c b/drivers/iio/accel/kxcjk-1013.c
index 748b35c2f0c3..b073ab12e6a4 100644
--- a/drivers/iio/accel/kxcjk-1013.c
+++ b/drivers/iio/accel/kxcjk-1013.c
@@ -1064,7 +1064,7 @@ static int kxcjk1013_write_event_config(struct iio_dev *indio_dev,

/*
* We will expect the enable and disable to do operation in
- * in reverse order. This will happen here anyway as our
+ * 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
* So the disable operation will still happen in reverse of
--
2.36.1


2022-08-28 16:47:36

by Jonathan Cameron

[permalink] [raw]
Subject: Re: [PATCH] iio/accel: fix repeated words in comments

On Tue, 23 Aug 2022 22:00:23 +0800
wangjianli <[email protected]> wrote:

> Delete the redundant word 'in'.
>
> Signed-off-by: wangjianli <[email protected]>

Applied,

Thanks,

> ---
> drivers/iio/accel/kxcjk-1013.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/accel/kxcjk-1013.c b/drivers/iio/accel/kxcjk-1013.c
> index 748b35c2f0c3..b073ab12e6a4 100644
> --- a/drivers/iio/accel/kxcjk-1013.c
> +++ b/drivers/iio/accel/kxcjk-1013.c
> @@ -1064,7 +1064,7 @@ static int kxcjk1013_write_event_config(struct iio_dev *indio_dev,
>
> /*
> * We will expect the enable and disable to do operation in
> - * in reverse order. This will happen here anyway as our
> + * 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
> * So the disable operation will still happen in reverse of