]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-rs5c372.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>
Thu, 27 Sep 2012 07:28:23 +0000 (17:28 +1000)
commit52c719b8bc9d931ccca8ad217ee9c72d2630da83
treed74ea283c373ec8749fca21da950dc123a30717b
parent1c4d3d749b599caa4632174ed6deee3727d70bf0
drivers/rtc/rtc-rs5c372.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.  while at it also fix a checkpatch
warn WARNING: sizeof rs5c->buf should be sizeof(rs5c->buf)

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-rs5c372.c