mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[PATCH] i2c: Drop i2c_driver.flags, 1 of 3
The I2C_DF_DUMMY flag is gone since 2.5.70, it's about time to drop all ifdef'd out references thereto. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
1de9e371b8
commit
ff179c8cf5
2 changed files with 0 additions and 9 deletions
|
@ -252,11 +252,6 @@ static inline void i2c_set_adapdata (struct i2c_adapter *dev, void *data)
|
|||
|
||||
/*flags for the driver struct: */
|
||||
#define I2C_DF_NOTIFY 0x01 /* notify on bus (de/a)ttaches */
|
||||
#if 0
|
||||
/* this flag is gone -- there is a (optional) driver->detach_adapter
|
||||
* callback now which can be used instead */
|
||||
# define I2C_DF_DUMMY 0x02
|
||||
#endif
|
||||
|
||||
/*flags for the client struct: */
|
||||
#define I2C_CLIENT_ALLOW_USE 0x01 /* Client allows access */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue