aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c.h
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2005-11-26 14:58:35 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-06 01:16:22 -0500
commitcb748fb20186d4b345c68a7f580429f379fdd268 (patch)
tree6c8f4f0937941bb4ee56ed72ba0b7f60562f1e1d /include/linux/i2c.h
parent5d7b851dcced3611e4a4432308618b1ed1a9fc31 (diff)
[PATCH] i2c: Rework client usage count, 1 of 3
No i2c client uses the I2C_CLIENT_ALLOW_MULTIPLE_USE flag, drop it. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/i2c.h')
-rw-r--r--include/linux/i2c.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 3c16a8fb95f4..4487c5189747 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -251,8 +251,6 @@ static inline void i2c_set_adapdata (struct i2c_adapter *dev, void *data)
251 251
252/*flags for the client struct: */ 252/*flags for the client struct: */
253#define I2C_CLIENT_ALLOW_USE 0x01 /* Client allows access */ 253#define I2C_CLIENT_ALLOW_USE 0x01 /* Client allows access */
254#define I2C_CLIENT_ALLOW_MULTIPLE_USE 0x02 /* Allow multiple access-locks */
255 /* on an i2c_client */
256#define I2C_CLIENT_PEC 0x04 /* Use Packet Error Checking */ 254#define I2C_CLIENT_PEC 0x04 /* Use Packet Error Checking */
257#define I2C_CLIENT_TEN 0x10 /* we have a ten bit chip address */ 255#define I2C_CLIENT_TEN 0x10 /* we have a ten bit chip address */
258 /* Must equal I2C_M_TEN below */ 256 /* Must equal I2C_M_TEN below */