Explorar o código

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 %!s(int64=17) %!d(string=hai) anos
pai
achega
f9dd0194ff
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      include/linux/i2c-id.h

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

@@ -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 -----------------------------------------------------
  */