projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96acafe
)
i2c: Driver IDs are optional
author
Jean Delvare
<khali@linux-fr.org>
Mon, 14 Jan 2008 20:53:31 +0000
(21:53 +0100)
committer
Jean Delvare
<khali@hyperion.delvare>
Mon, 14 Jan 2008 20:53:31 +0000
(21:53 +0100)
Document the fact that I2C driver IDs are optional.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
include/linux/i2c-id.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/i2c-id.h
b/include/linux/i2c-id.h
index 88c81403eb3ff8dbb4804e72c0fa65d28afe0691..e18017d457583d0ddbc3f4c7f9420df34a9cdff3 100644
(file)
--- 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 -----------------------------------------------------
*/