]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-x1205.c: convert struct i2c_msg initialization to C99 format
authorShubhrajyoti D <shubhrajyoti@ti.com>
Wed, 26 Sep 2012 01:34:40 +0000 (11:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 26 Sep 2012 05:45:30 +0000 (15:45 +1000)
commit298bc7bd7f2214c941d3a0e6e45d8b836b37f0db
tree78fe3ce4f71e0d8fbe036a3e55ce037c0bcef791
parent47b4f1dc13862fa606202110ab6ffd049665f35f
drivers/rtc/rtc-x1205.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-x1205.c