]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-em3027.c: convert struct i2c_msg initialization to C99 format
authorShubhrajyoti D <shubhrajyoti@ti.com>
Wed, 26 Sep 2012 01:34:41 +0000 (11:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 07:28:24 +0000 (17:28 +1000)
commit3e1c6fbeb5b147ac0831891c4179871a16071452
tree4e5b53a1a475942c780db43972fb412fc64dda04
parentc593732039accb561ac53889dde135c8a678e28b
drivers/rtc/rtc-em3027.c: 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>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-em3027.c