i2c: Driver IDs are optional

Document the fact that I2C driver IDs are optional.

Signed-off-by: Jean Delvare <khali@linux-fr.org>

authored by Jean Delvare and committed by Jean Delvare f9dd0194 96acafe0

+4
+4
include/linux/i2c-id.h
··· 23 #ifndef LINUX_I2C_ID_H 24 #define LINUX_I2C_ID_H 25 26 /* 27 * ---- Driver types ----------------------------------------------------- 28 */
··· 23 #ifndef LINUX_I2C_ID_H 24 #define LINUX_I2C_ID_H 25 26 + /* Please note that I2C driver IDs are optional. They are only needed if a 27 + legacy chip driver needs to identify a bus or a bus driver needs to 28 + identify a legacy client. If you don't need them, just don't set them. */ 29 + 30 /* 31 * ---- Driver types ----------------------------------------------------- 32 */