]> 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>
Fri, 28 Sep 2012 00:20:39 +0000 (10:20 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 3 Oct 2012 06:50:53 +0000 (16:50 +1000)
commitc92a8bb9a1c87151c47b45f78d48741426188316
tree2e372d1bc2f641064d741c5b0cab0b920705f9bc
parent688e96f226f08be25ff0a5bfffebf885f482046b
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