]> git.karo-electronics.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>
Fri, 5 Oct 2012 04:01:32 +0000 (14:01 +1000)
commit125d03b6f96cf47b284b928fcfe43cd90a467537
treeac8a3a514cb176dd5f683d84cea25ff46117700b
parentaba2b8c5284a592e238814523c286712eaead012
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