Input: as5011 - use C99-style structure initializators
authorShubhrajyoti D <shubhrajyoti@ti.com>
Wed, 10 Oct 2012 16:35:38 +0000 (09:35 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 11 Oct 2012 07:48:54 +0000 (00:48 -0700)
commit24e491c21b4e214a980a5daf2a5bc80e8c410ce6
tree347c3122134b187361ef8805796d9b9caa4d20a9
parent9493d974b0f1f34903adfb529a510d4d768493dc
Input: as5011 - use C99-style structure initializators

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 <julia.lawall@lip6.fr> for automating the
conversion.

Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/as5011.c