char/tpm: Convert struct i2c_msg initialization to C99 format
authorShubhrajyoti Datta <omaplinuxkernel@gmail.com>
Thu, 28 Feb 2013 10:06:11 +0000 (11:06 +0100)
committerKent Yoder <key@linux.vnet.ibm.com>
Fri, 12 Apr 2013 17:17:28 +0000 (12:17 -0500)
commiteef8b6291987c059dacb07dd516d4ada0e3362af
tree1508b9472f0a4d2355a717d79d6cc302be7c032a
parente361200bfc3b72de8db246de209da55d6d60fd34
char/tpm: 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.

Thanks to Julia Lawall for automating the conversion.

Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Acked-by: Peter Huewe <peter.huewe@infineon.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>
drivers/char/tpm/tpm_i2c_infineon.c