]> 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>
Fri, 28 Sep 2012 00:20:38 +0000 (10:20 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Oct 2012 05:03:56 +0000 (15:03 +1000)
commit9534ba404e5e3ab10fafd0efa3357df7f11b6167
tree799edd47d47eac6d16ee247cc1325b8768724fba
parentb5218f727a8ef43e9118776a7f065363787e910c
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