]> 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, 7 Aug 2012 01:36:45 +0000 (11:36 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 7 Aug 2012 01:36:45 +0000 (11:36 +1000)
commita918790f6f4711df18afd5f6c6d26a429770aba9
treed7ab519a5b7bb6c8dff6409a4c11418c1e286fe9
parenta817878c176894429ab6f9fb046fa887cc0862ec
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