public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] i2c: fix comment typo in i2c.h
@ 2025-09-07 14:01 Degao Lan
  2025-09-07 20:19 ` Wolfram Sang
  0 siblings, 1 reply; 2+ messages in thread
From: Degao Lan @ 2025-09-07 14:01 UTC (permalink / raw)
  To: wsa+renesas; +Cc: linux-i2c, linux-kernel, Degao Lan

There is a typo in comment. We should fix this.

Signed-off-by: Degao Lan <landegao@sina.com>
---
 include/linux/i2c.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 20fd41b51..f1136cff0 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -335,7 +335,7 @@ struct i2c_client {
 					/* Must equal I2C_M_TEN below */
 #define I2C_CLIENT_SLAVE	0x20	/* we are the slave */
 #define I2C_CLIENT_HOST_NOTIFY	0x40	/* We want to use I2C host notify */
-#define I2C_CLIENT_WAKE		0x80	/* for board_info; true iff can wake */
+#define I2C_CLIENT_WAKE		0x80	/* for board_info; true if can wake */
 #define I2C_CLIENT_SCCB		0x9000	/* Use Omnivision SCCB protocol */
 					/* Must match I2C_M_STOP|IGNORE_NAK */
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] i2c: fix comment typo in i2c.h
  2025-09-07 14:01 [PATCH] i2c: fix comment typo in i2c.h Degao Lan
@ 2025-09-07 20:19 ` Wolfram Sang
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2025-09-07 20:19 UTC (permalink / raw)
  To: Degao Lan; +Cc: linux-i2c, linux-kernel

On Sun, Sep 07, 2025 at 10:01:11PM +0800, Degao Lan wrote:
> There is a typo in comment. We should fix this.

No, 'iff' means 'if and only if'.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-09-07 20:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-07 14:01 [PATCH] i2c: fix comment typo in i2c.h Degao Lan
2025-09-07 20:19 ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox