]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i2c: Convert struct i2c_msg initialization to C99 format
authorShubhrajyoti D <shubhrajyoti@ti.com>
Tue, 2 Oct 2012 00:00:56 +0000 (10:00 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Oct 2012 00:00:56 +0000 (10:00 +1000)
commit108d4963811ef211a22194bdcac506e8a3e68b0b
tree3137920c36797a5df56f24ea58d9e9803e560611
parentdbc0dbcf2ae949c62255d6c544e1c1434ec50623
i2c: Convert struct i2c_msg initialization to C99 format

Convert the struct i2c_msg initialization to C99 format. This makes
maintaining and editing the code simpler. Also helps once other fields
like transferred are added in future.

Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/i2c-core.c