Skip to contentSkip to conversation

i2c: Drop i2c_driver.flags, 3 of 3

PATCH New Jean Delvare 1 participant 1 message Nov 27, 2005 I2C

lore
Share & tools
lore
#0 lore raw

PATCH 9/25 i2c: Drop i2c_driver.flags, 3 of 3

Hi Mark,

Quoted 1 line

-EWRONGPATCH ? This one is the same as 23/25 in the series.

Damn, you're right :( Here comes the right patch, sorry for the noise. Thanks for watching me Mark.

* * * * *

Content-Disposition: inline; filename=i2c-drop-driver-flags-03-flags.patch

The flags member of the i2c_driver structure is no more used. Drop it.

---
 include/linux/i2c.h |    3 ---
 1 file changed, 3 deletions(-)
include/linux/i2c.h +0 -3
@@ -112,7 +112,6 @@
 	char name[32];
 	int id;
 	unsigned int class;
-	unsigned int flags;		/* div., see below		*/
 
 	/* Notifies the driver that a new bus has appeared. This routine
 	 * can be used by the driver to test if the bus meets its conditions
@@ -250,8 +249,6 @@
 	dev_set_drvdata (&dev->dev, data);
 }
 
-/*flags for the driver struct: */
-
 /*flags for the client struct: */
 #define I2C_CLIENT_ALLOW_USE		0x01	/* Client allows access */
 #define I2C_CLIENT_ALLOW_MULTIPLE_USE 	0x02  	/* Allow multiple access-locks */
Signature · 1 line
Jean Delvare