Skip to contentSkip to conversation

i2c: Driver IDs are optional

PATCH New Jean Delvare 1 participant 1 message Jan 3, 2008 I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: Driver IDs are optional

Document the fact that I2C driver IDs are optional.

---
 include/linux/i2c-id.h |    4 ++++
 1 file changed, 4 insertions(+)
include/linux/i2c-id.h +4 -0
@@ -23,6 +23,10 @@
 #ifndef LINUX_I2C_ID_H
 #define LINUX_I2C_ID_H
 
+/* Please note that I2C driver IDs are optional. They are only needed if a
+   legacy chip driver needs to identify a bus or a bus driver needs to
+   identify a legacy client. If you don't need them, just don't set them. */
+
 /*
  * ---- Driver types -----------------------------------------------------
  */
Signature · 1 line
Jean Delvare