summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses
diff options
context:
space:
mode:
authorXiang wangx <wangxiang@cdjrlc.com>2021-12-06 00:27:52 +0800
committerWolfram Sang <wsa@kernel.org>2022-03-11 21:54:21 +0100
commit8b6d8d00a46a12a4baa08d547d4231e50a558254 (patch)
tree3bfe1cfed18d41b4a2ea4eeb4b95624ecc9aeeea /drivers/i2c/busses
parent246313e31316804c87887d3f33f8dc8ab6893560 (diff)
downloadlinux-8b6d8d00a46a12a4baa08d547d4231e50a558254.tar.gz
linux-8b6d8d00a46a12a4baa08d547d4231e50a558254.tar.bz2
linux-8b6d8d00a46a12a4baa08d547d4231e50a558254.zip
i2c: cros-ec-tunnel: Fix syntax errors in comments
Delete the redundant word 'to' Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com> [wsa: fixed prefix in subject] Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/busses')
-rw-r--r--drivers/i2c/busses/i2c-cros-ec-tunnel.c4
1 files 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.
*