2021-12-05 16:28:19

by Xiang wangx

[permalink] [raw]
Subject: [PATCH] i2c: Fix syntax errors in comments

Delete the redundant word 'to'

Signed-off-by: Xiang wangx <[email protected]>
---
drivers/i2c/busses/i2c-cros-ec-tunnel.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/i2c/busses/i2c-cros-ec-tunnel.c b/drivers/i2c/busses/i2c-cros-ec-tunnel.c
index 790ea3fda693..892213d51f43 100644
--- a/drivers/i2c/busses/i2c-cros-ec-tunnel.c
+++ b/drivers/i2c/busses/i2c-cros-ec-tunnel.c
@@ -107,7 +107,7 @@ static int ec_i2c_construct_message(u8 *buf, const struct i2c_msg i2c_msgs[],
/**
* ec_i2c_count_response - Count bytes needed for ec_i2c_parse_response
*
- * @i2c_msgs: The i2c messages to to fill up.
+ * @i2c_msgs: The i2c messages to fill up.
* @num: The number of i2c messages expected.
*
* Returns the number of response bytes expeced.
@@ -131,7 +131,7 @@ static int ec_i2c_count_response(struct i2c_msg i2c_msgs[], int num)
* We'll take the EC's response and copy it back into msgs.
*
* @buf: The buffer to parse.
- * @i2c_msgs: The i2c messages to to fill up.
+ * @i2c_msgs: The i2c messages to fill up.
* @num: The number of i2c messages; will be modified to include the actual
* number received.
*
--
2.20.1



2022-03-11 23:31:57

by Wolfram Sang

[permalink] [raw]
Subject: Re: [PATCH] i2c: Fix syntax errors in comments

On Mon, Dec 06, 2021 at 12:27:52AM +0800, Xiang wangx wrote:
> Delete the redundant word 'to'
>
> Signed-off-by: Xiang wangx <[email protected]>

Applied to for-next, thanks!


Attachments:
(No filename) (187.00 B)
signature.asc (849.00 B)
Download all attachments