aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-10-22 14:21:31 -0400
committerJean Delvare <khali@linux-fr.org>2008-10-22 14:21:31 -0400
commitc0589d4bc19294a49934af1be736eb6e9ad11673 (patch)
tree1af630b17e1a3826de789270e968ec0900809d06
parente313353dd4fcb1ab568ab20339380063307ebec9 (diff)
i2c: Drop 2-byte address block transfer defines
We have no users and no implementers for these transfer types so it makes little sense to define functionality bits for them. Signed-off-by: Jean Delvare <khali@linux-fr.org>
-rw-r--r--include/linux/i2c.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index a411f0b70e8e..7d21aba819ff 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -541,8 +541,6 @@ struct i2c_msg {
541#define I2C_FUNC_SMBUS_WRITE_BLOCK_DATA 0x02000000 541#define I2C_FUNC_SMBUS_WRITE_BLOCK_DATA 0x02000000
542#define I2C_FUNC_SMBUS_READ_I2C_BLOCK 0x04000000 /* I2C-like block xfer */ 542#define I2C_FUNC_SMBUS_READ_I2C_BLOCK 0x04000000 /* I2C-like block xfer */
543#define I2C_FUNC_SMBUS_WRITE_I2C_BLOCK 0x08000000 /* w/ 1-byte reg. addr. */ 543#define I2C_FUNC_SMBUS_WRITE_I2C_BLOCK 0x08000000 /* w/ 1-byte reg. addr. */
544#define I2C_FUNC_SMBUS_READ_I2C_BLOCK_2 0x10000000 /* I2C-like block xfer */
545#define I2C_FUNC_SMBUS_WRITE_I2C_BLOCK_2 0x20000000 /* w/ 2-byte reg. addr. */
546 544
547#define I2C_FUNC_SMBUS_BYTE (I2C_FUNC_SMBUS_READ_BYTE | \ 545#define I2C_FUNC_SMBUS_BYTE (I2C_FUNC_SMBUS_READ_BYTE | \
548 I2C_FUNC_SMBUS_WRITE_BYTE) 546 I2C_FUNC_SMBUS_WRITE_BYTE)
@@ -554,8 +552,6 @@ struct i2c_msg {
554 I2C_FUNC_SMBUS_WRITE_BLOCK_DATA) 552 I2C_FUNC_SMBUS_WRITE_BLOCK_DATA)
555#define I2C_FUNC_SMBUS_I2C_BLOCK (I2C_FUNC_SMBUS_READ_I2C_BLOCK | \ 553#define I2C_FUNC_SMBUS_I2C_BLOCK (I2C_FUNC_SMBUS_READ_I2C_BLOCK | \
556 I2C_FUNC_SMBUS_WRITE_I2C_BLOCK) 554 I2C_FUNC_SMBUS_WRITE_I2C_BLOCK)
557#define I2C_FUNC_SMBUS_I2C_BLOCK_2 (I2C_FUNC_SMBUS_READ_I2C_BLOCK_2 | \
558 I2C_FUNC_SMBUS_WRITE_I2C_BLOCK_2)
559 555
560#define I2C_FUNC_SMBUS_EMUL (I2C_FUNC_SMBUS_QUICK | \ 556#define I2C_FUNC_SMBUS_EMUL (I2C_FUNC_SMBUS_QUICK | \
561 I2C_FUNC_SMBUS_BYTE | \ 557 I2C_FUNC_SMBUS_BYTE | \