diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-01-07 16:29:16 +0300 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-01-07 16:29:16 +0300 |
commit | e1995f65be0786ca201f466f049dad1e2e4c3421 (patch) | |
tree | 95df9f74f0bf1eb84b1d914962511ec4dd1cb03d /include/linux/i2c.h | |
parent | 22e965c2aeb3e636831c8b28f9d7d8e25199891e (diff) | |
download | linux-e1995f65be0786ca201f466f049dad1e2e4c3421.tar.xz |
i2c: Drop I2C_CLASS_ALL
I2C_CLASS_ALL is almost never what bus driver authors really want.
These i2c classes are really only about which devices must be probed,
not what devices can be present. As device drivers get converted to the
new i2c device driver model, only a few device types will keep relying
on probing.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Sonic Zhang <sonic.zhang@analog.com>
Diffstat (limited to 'include/linux/i2c.h')
-rw-r--r-- | include/linux/i2c.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 33a5992d4936..0184de4050b8 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h @@ -397,7 +397,6 @@ static inline void i2c_set_adapdata(struct i2c_adapter *dev, void *data) #define I2C_CLASS_CAM_DIGITAL (1<<5) /* most webcams */ #define I2C_CLASS_SOUND (1<<6) /* sound devices */ #define I2C_CLASS_SPD (1<<7) /* SPD EEPROMs and similar */ -#define I2C_CLASS_ALL (UINT_MAX) /* all of the above */ /* i2c_client_address_data is the struct for holding default client * addresses for a driver and for the parameters supplied on the |