]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-s35390a.c: convert struct i2c_msg initialization to C99 format
authorShubhrajyoti D <shubhrajyoti@ti.com>
Fri, 28 Sep 2012 00:20:38 +0000 (10:20 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Sep 2012 06:08:14 +0000 (16:08 +1000)
commit7218f55223a54ed79e7aa1b86c5fb554d6023ca9
tree8dcde11e69f3cbed463c041fbf6ca16dbfb32636
parentae9e8f991aea235a63ee4870fbfebcccf4c29758
drivers/rtc/rtc-s35390a.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-s35390a.c