aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c-id.h
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 /include/linux/i2c-id.h
parenti2c: Spelling fixes (diff)
downloadlinux-dev-f9dd0194ff23d612e463be764d73da7825da4aa1.tar.xz
linux-dev-f9dd0194ff23d612e463be764d73da7825da4aa1.zip
i2c: Driver IDs are optional
Document the fact that I2C driver IDs are optional. Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'include/linux/i2c-id.h')
-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 88c81403eb3f..e18017d45758 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 -----------------------------------------------------
*/