Skip to content

Commit

Permalink
i2c: Driver IDs are optional
Browse files Browse the repository at this point in the history
Document the fact that I2C driver IDs are optional.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
  • Loading branch information
Jean Delvare authored and Jean Delvare committed Jan 14, 2008
1 parent 96acafe commit f9dd019
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/linux/i2c-id.h
Expand Up @@ -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 -----------------------------------------------------
*/
Expand Down

0 comments on commit f9dd019

Please sign in to comment.