Browse Source

i2c: Driver IDs are optional

Document the fact that I2C driver IDs are optional.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Jean Delvare 17 years ago
parent
commit
f9dd0194ff
1 changed files with 4 additions and 0 deletions
  1. 4 0
      include/linux/i2c-id.h

+ 4 - 0
include/linux/i2c-id.h

@@ -23,6 +23,10 @@
 #ifndef LINUX_I2C_ID_H
 #ifndef LINUX_I2C_ID_H
 #define 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 -----------------------------------------------------
  * ---- Driver types -----------------------------------------------------
  */
  */