diff options
author | Elliott Hughes <enh@google.com> | 2013-01-29 18:15:55 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-01-30 10:13:07 -0800 |
commit | c95eb57405d3d2f0e6cfab313aa74b1bad280452 (patch) | |
tree | 3732a299ef9278be919aa436f135df907502a7a2 /libc/kernel/common/linux/i2c.h | |
parent | f67219783fa7c38c1f4f077364290d10d3aa1db4 (diff) | |
download | android_bionic-c95eb57405d3d2f0e6cfab313aa74b1bad280452.tar.gz android_bionic-c95eb57405d3d2f0e6cfab313aa74b1bad280452.tar.bz2 android_bionic-c95eb57405d3d2f0e6cfab313aa74b1bad280452.zip |
Clean up trailing whitespace in the kernel headers.
And fix the scripts so they stop letting trailing whitespace through.
Change-Id: Ie109fbe1f63321e565ba0fa60fee8e9cf3a61cfc
Diffstat (limited to 'libc/kernel/common/linux/i2c.h')
-rw-r--r-- | libc/kernel/common/linux/i2c.h | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/libc/kernel/common/linux/i2c.h b/libc/kernel/common/linux/i2c.h index f266a97f9..4902f24ad 100644 --- a/libc/kernel/common/linux/i2c.h +++ b/libc/kernel/common/linux/i2c.h @@ -23,7 +23,7 @@ struct i2c_msg { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ __u16 addr; __u16 flags; -#define I2C_M_TEN 0x10 +#define I2C_M_TEN 0x10 #define I2C_M_RD 0x01 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define I2C_M_NOSTART 0x4000 @@ -37,27 +37,27 @@ struct i2c_msg { #define I2C_FUNC_I2C 0x00000001 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define I2C_FUNC_10BIT_ADDR 0x00000002 -#define I2C_FUNC_PROTOCOL_MANGLING 0x00000004 -#define I2C_FUNC_SMBUS_HWPEC_CALC 0x00000008 -#define I2C_FUNC_SMBUS_BLOCK_PROC_CALL 0x00008000 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define I2C_FUNC_SMBUS_QUICK 0x00010000 -#define I2C_FUNC_SMBUS_READ_BYTE 0x00020000 -#define I2C_FUNC_SMBUS_WRITE_BYTE 0x00040000 -#define I2C_FUNC_SMBUS_READ_BYTE_DATA 0x00080000 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define I2C_FUNC_SMBUS_WRITE_BYTE_DATA 0x00100000 -#define I2C_FUNC_SMBUS_READ_WORD_DATA 0x00200000 -#define I2C_FUNC_SMBUS_WRITE_WORD_DATA 0x00400000 -#define I2C_FUNC_SMBUS_PROC_CALL 0x00800000 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define I2C_FUNC_SMBUS_READ_BLOCK_DATA 0x01000000 -#define I2C_FUNC_SMBUS_WRITE_BLOCK_DATA 0x02000000 -#define I2C_FUNC_SMBUS_READ_I2C_BLOCK 0x04000000 -#define I2C_FUNC_SMBUS_WRITE_I2C_BLOCK 0x08000000 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define I2C_FUNC_SMBUS_READ_I2C_BLOCK_2 0x10000000 -#define I2C_FUNC_SMBUS_WRITE_I2C_BLOCK_2 0x20000000 +#define I2C_FUNC_PROTOCOL_MANGLING 0x00000004 +#define I2C_FUNC_SMBUS_HWPEC_CALC 0x00000008 +#define I2C_FUNC_SMBUS_BLOCK_PROC_CALL 0x00008000 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define I2C_FUNC_SMBUS_QUICK 0x00010000 +#define I2C_FUNC_SMBUS_READ_BYTE 0x00020000 +#define I2C_FUNC_SMBUS_WRITE_BYTE 0x00040000 +#define I2C_FUNC_SMBUS_READ_BYTE_DATA 0x00080000 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define I2C_FUNC_SMBUS_WRITE_BYTE_DATA 0x00100000 +#define I2C_FUNC_SMBUS_READ_WORD_DATA 0x00200000 +#define I2C_FUNC_SMBUS_WRITE_WORD_DATA 0x00400000 +#define I2C_FUNC_SMBUS_PROC_CALL 0x00800000 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define I2C_FUNC_SMBUS_READ_BLOCK_DATA 0x01000000 +#define I2C_FUNC_SMBUS_WRITE_BLOCK_DATA 0x02000000 +#define I2C_FUNC_SMBUS_READ_I2C_BLOCK 0x04000000 +#define I2C_FUNC_SMBUS_WRITE_I2C_BLOCK 0x08000000 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define I2C_FUNC_SMBUS_READ_I2C_BLOCK_2 0x10000000 +#define I2C_FUNC_SMBUS_WRITE_I2C_BLOCK_2 0x20000000 #define I2C_FUNC_SMBUS_BYTE (I2C_FUNC_SMBUS_READ_BYTE | I2C_FUNC_SMBUS_WRITE_BYTE) #define I2C_FUNC_SMBUS_BYTE_DATA (I2C_FUNC_SMBUS_READ_BYTE_DATA | I2C_FUNC_SMBUS_WRITE_BYTE_DATA) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ @@ -67,7 +67,7 @@ struct i2c_msg { #define I2C_FUNC_SMBUS_I2C_BLOCK_2 (I2C_FUNC_SMBUS_READ_I2C_BLOCK_2 | I2C_FUNC_SMBUS_WRITE_I2C_BLOCK_2) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define I2C_FUNC_SMBUS_EMUL (I2C_FUNC_SMBUS_QUICK | I2C_FUNC_SMBUS_BYTE | I2C_FUNC_SMBUS_BYTE_DATA | I2C_FUNC_SMBUS_WORD_DATA | I2C_FUNC_SMBUS_PROC_CALL | I2C_FUNC_SMBUS_WRITE_BLOCK_DATA | I2C_FUNC_SMBUS_I2C_BLOCK) -#define I2C_SMBUS_BLOCK_MAX 32 +#define I2C_SMBUS_BLOCK_MAX 32 union i2c_smbus_data { __u8 byte; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ @@ -79,23 +79,23 @@ union i2c_smbus_data { #define I2C_SMBUS_WRITE 0 #define I2C_SMBUS_QUICK 0 #define I2C_SMBUS_BYTE 1 -#define I2C_SMBUS_BYTE_DATA 2 +#define I2C_SMBUS_BYTE_DATA 2 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define I2C_SMBUS_WORD_DATA 3 #define I2C_SMBUS_PROC_CALL 4 #define I2C_SMBUS_BLOCK_DATA 5 #define I2C_SMBUS_I2C_BLOCK_DATA 6 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define I2C_SMBUS_BLOCK_PROC_CALL 7 -#define I2C_RETRIES 0x0701 -#define I2C_TIMEOUT 0x0702 -#define I2C_SLAVE 0x0703 +#define I2C_SMBUS_BLOCK_PROC_CALL 7 +#define I2C_RETRIES 0x0701 +#define I2C_TIMEOUT 0x0702 +#define I2C_SLAVE 0x0703 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define I2C_SLAVE_FORCE 0x0706 -#define I2C_TENBIT 0x0704 -#define I2C_FUNCS 0x0705 -#define I2C_RDWR 0x0707 +#define I2C_SLAVE_FORCE 0x0706 +#define I2C_TENBIT 0x0704 +#define I2C_FUNCS 0x0705 +#define I2C_RDWR 0x0707 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define I2C_PEC 0x0708 -#define I2C_SMBUS 0x0720 +#define I2C_PEC 0x0708 +#define I2C_SMBUS 0x0720 #endif |