[PATCH 0/7] rtc: convert to c99 format

From: Shubhrajyoti D
Date: Mon Sep 17 2012 - 09:58:57 EST


The series tries to convert the i2c_msg to c99 struct.
This may avoid issues like below if someone tries to add an
element to the structure.
http://www.mail-archive.com/linux-i2c@xxxxxxxxxxxxxxx/msg08972.html

Special thanks to Julia Lawall for helping it automate.
By the below script.
http://www.mail-archive.com/cocci@xxxxxxx/msg02753.html


Shubhrajyoti D (7):
rtc: Convert struct i2c_msg initialization to C99 format
rtc: Convert struct i2c_msg initialization to C99 format
rtc: Convert struct i2c_msg initialization to C99 format
rtc: Convert struct i2c_msg initialization to C99 format
rtc: Convert struct i2c_msg initialization to C99 format
rtc: Convert struct i2c_msg initialization to C99 format
rtc: Convert struct i2c_msg initialization to C99 format

drivers/rtc/rtc-ds1672.c | 26 ++++++++++++++++++++++----
drivers/rtc/rtc-em3027.c | 6 +++---
drivers/rtc/rtc-isl1208.c | 6 +++---
drivers/rtc/rtc-pcf8563.c | 4 ++--
drivers/rtc/rtc-rs5c372.c | 2 +-
drivers/rtc/rtc-s35390a.c | 4 ++--
drivers/rtc/rtc-x1205.c | 28 ++++++++++++++--------------
7 files changed, 47 insertions(+), 29 deletions(-)

--
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/