]> 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>
Fri, 5 Oct 2012 04:01:32 +0000 (14:01 +1000)
commite477046e46e82ed90c8ec27e4ca0ab1a34be23ef
treea2cc843cb21ed1f04aae07df8e8871b9f8c7076d
parentb065c96578f91e3987b066a9e51d35c01bf43ba2
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