* [PATCH] i2c: Driver IDs are optional
@ 2008-01-03 16:57 Jean Delvare
0 siblings, 0 replies; only message in thread
From: Jean Delvare @ 2008-01-03 16:57 UTC (permalink / raw)
To: Linux I2C; +Cc: Janesh Ramakrishnan
Document the fact that I2C driver IDs are optional.
Signed-off-by: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
---
include/linux/i2c-id.h | 4 ++++
1 file changed, 4 insertions(+)
--- linux-2.6.24-rc6.orig/include/linux/i2c-id.h 2007-12-21 18:20:04.000000000 +0100
+++ linux-2.6.24-rc6/include/linux/i2c-id.h 2007-12-21 18:20:40.000000000 +0100
@@ -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 -----------------------------------------------------
*/
--
Jean Delvare
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-01-03 16:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-03 16:57 [PATCH] i2c: Driver IDs are optional Jean Delvare
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox