* [PATCH] i2c: viperboard: fix repeated words in comments
@ 2022-09-18 9:47 Jilin Yuan
2022-09-18 15:06 ` Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Jilin Yuan @ 2022-09-18 9:47 UTC (permalink / raw)
To: yuanjilin; +Cc: linux-i2c, linux-kernel
Delete the redundant word 'to'.
Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
drivers/i2c/busses/i2c-viperboard.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-viperboard.c b/drivers/i2c/busses/i2c-viperboard.c
index 8b5322c3bce0..8f87394abbcf 100644
--- a/drivers/i2c/busses/i2c-viperboard.c
+++ b/drivers/i2c/busses/i2c-viperboard.c
@@ -318,7 +318,7 @@ static int vprbrd_i2c_xfer(struct i2c_adapter *i2c, struct i2c_msg *msgs,
amsg->addr = pmsg->addr;
amsg->unknown1 = 0x00;
amsg->len = cpu_to_le16(pmsg->len);
- /* send the addr, the data goes to to board */
+ /* send the addr, the data goes to board */
ret = vprbrd_i2c_addr(vb->usb_dev, amsg);
if (ret < 0)
error = ret;
--
2.36.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] i2c: viperboard: fix repeated words in comments
2022-09-18 9:47 [PATCH] i2c: viperboard: fix repeated words in comments Jilin Yuan
@ 2022-09-18 15:06 ` Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2022-09-18 15:06 UTC (permalink / raw)
To: Jilin Yuan; +Cc: linux-i2c, linux-kernel
On 9/18/22 02:47, Jilin Yuan wrote:
> Delete the redundant word 'to'.
>
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
> ---
> drivers/i2c/busses/i2c-viperboard.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/i2c/busses/i2c-viperboard.c b/drivers/i2c/busses/i2c-viperboard.c
> index 8b5322c3bce0..8f87394abbcf 100644
> --- a/drivers/i2c/busses/i2c-viperboard.c
> +++ b/drivers/i2c/busses/i2c-viperboard.c
> @@ -318,7 +318,7 @@ static int vprbrd_i2c_xfer(struct i2c_adapter *i2c, struct i2c_msg *msgs,
> amsg->addr = pmsg->addr;
> amsg->unknown1 = 0x00;
> amsg->len = cpu_to_le16(pmsg->len);
> - /* send the addr, the data goes to to board */
> + /* send the addr, the data goes to board */
preferably: goes to the board */
> ret = vprbrd_i2c_addr(vb->usb_dev, amsg);
> if (ret < 0)
> error = ret;
--
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-18 15:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-18 9:47 [PATCH] i2c: viperboard: fix repeated words in comments Jilin Yuan
2022-09-18 15:06 ` Randy Dunlap
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.