]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i2c: Convert struct i2c_msg initialization to C99 format
authorShubhrajyoti D <shubhrajyoti@ti.com>
Mon, 10 Sep 2012 00:08:49 +0000 (10:08 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 10 Sep 2012 00:10:06 +0000 (10:10 +1000)
commitb281e3dc821c89b02807a32a802e55c9e26cdf18
tree68c32fd1e20f28a48b54c82808219be641fb0162
parent86a878d0946e9fe597ec482b115299b2c6a21478
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