summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-01-14 21:53:31 +0100
committerJean Delvare <khali@hyperion.delvare>2008-01-14 21:53:31 +0100
commitf9dd0194ff23d612e463be764d73da7825da4aa1 (patch)
treebb826626c73b5c4945a95ef5557940e2e3b4bd1c
parent96acafe05fad2c9429ca2c39af47efc5db2d8042 (diff)
i2c: Driver IDs are optional
Document the fact that I2C driver IDs are optional. Signed-off-by: Jean Delvare <khali@linux-fr.org>
-rw-r--r--include/linux/i2c-id.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/i2c-id.h b/include/linux/i2c-id.h
index 88c81403eb3..e18017d4575 100644
--- a/include/linux/i2c-id.h
+++ b/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 -----------------------------------------------------
*/