]> 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 23:41:17 +0000 (09:41 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 10 Sep 2012 23:41:17 +0000 (09:41 +1000)
commit15e73444858f21b89837d57cbaf2cb90988dc448
treee7259460c52026b842df0ab2f72d90bd2154e11c
parent5e73b53ba1533d491b7072be0da96e5fe63acfb1
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