From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Delvare Subject: [PATCH] i2c: Driver IDs are optional Date: Thu, 3 Jan 2008 17:57:31 +0100 Message-ID: <20080103175731.5c04915f@hyperion.delvare> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: i2c-bounces-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org Errors-To: i2c-bounces-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org To: Linux I2C Cc: Janesh Ramakrishnan List-Id: linux-i2c@vger.kernel.org Document the fact that I2C driver IDs are optional. Signed-off-by: Jean Delvare --- 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