[PATCH] adv7604: convert struct i2c_msg initialization to C99 format

2012-10-24 Thread Shubhrajyoti D
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 --- drivers/media/i2c/adv7604.c | 16 +--- 1 files changed, 13 insertions

Re: [PATCHv4 0/6] media: convert to c99 format

2012-09-23 Thread Shubhrajyoti
On Tuesday 18 September 2012 05:52 PM, Shubhrajyoti D wrote: > 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@vger.kernel.org/msg08972.html > &

[PATCHv4 4/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
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 --- drivers/media/i2c/msp3400-driver.c | 40 ++- 1

[PATCHv4 6/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
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 --- drivers/media/radio/si470x/radio-si470x-i2c.c | 23 +-- 1

[PATCHv4 0/6] media: convert to c99 format

2012-09-18 Thread Shubhrajyoti D
://www.mail-archive.com/cocci@diku.dk/msg02753.html Changelogs - Remove the zero inititialisation of the flags. Shubhrajyoti D (6): media: Convert struct i2c_msg initialization to C99 format media: Convert struct i2c_msg initialization to C99 format media: Convert struct i2c_msg initialization to

[PATCHv4 1/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
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 --- drivers/media/i2c/ks0127.c | 13 +++-- 1 files changed, 11 insertions

[PATCHv4 3/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
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 --- drivers/media/radio/radio-tea5764.c | 13 ++--- 1 files changed, 10

[PATCHv4 5/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
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 --- drivers/media/radio/saa7706h.c | 15 +-- 1 files changed, 13

[PATCHv4 2/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
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 --- drivers/media/i2c/tvaudio.c | 13 +++-- 1 files changed, 11 insertions

Re: [PATCHv3 5/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti
On Tuesday 18 September 2012 05:12 PM, Felipe Balbi wrote: > On Tue, Sep 18, 2012 at 05:14:31PM +0530, Shubhrajyoti D wrote: >> > Convert the struct i2c_msg initialization to C99 format. This makes >> > maintaining and editing the code simpler. Also helps on

[PATCHv3 3/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
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 --- drivers/media/radio/radio-tea5764.c | 13 ++--- 1

[PATCHv3 1/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
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 --- drivers/media/i2c/ks0127.c | 13 +++-- 1 files

[PATCHv3 2/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
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 --- drivers/media/i2c/tvaudio.c | 13 +++-- 1 files

[PATCHv3 6/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
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 --- drivers/media/radio/si470x/radio-si470x-i2c.c | 23

[PATCHv3 4/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
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 --- drivers/media/i2c/msp3400-driver.c | 40

[PATCHv3 5/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
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 --- drivers/media/radio/saa7706h.c | 15 +-- 1

[PATCHv3 0/6] media: convert to c99 format

2012-09-18 Thread Shubhrajyoti D
://www.mail-archive.com/cocci@diku.dk/msg02753.html Changelogs - Remove the zero inititialisation of the flags. Shubhrajyoti D (6): media: Convert struct i2c_msg initialization to C99 format media: Convert struct i2c_msg initialization to C99 format media: Convert struct i2c_msg initialization to

Re: [PATCHv2 6/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti Datta
On Tue, Sep 18, 2012 at 3:26 PM, Venu Byravarasu wrote: >> -Original Message- >> From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- >> ow...@vger.kernel.org] On Behalf Of Shubhrajyoti D >> Sent: Tuesday, September 18, 2012 3:21 PM >> To: lin

[PATCHv2 2/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
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 --- drivers/media/i2c/tvaudio.c | 14 -- 1 files

[PATCHv2 3/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
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 --- drivers/media/radio/radio-tea5764.c | 14 +++--- 1

[PATCHv2 4/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
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 --- drivers/media/radio/si470x/radio-si470x-i2c.c | 24

[PATCHv2 0/6] media: convert to c99 format

2012-09-18 Thread Shubhrajyoti D
://www.mail-archive.com/cocci@diku.dk/msg02753.html Shubhrajyoti D (6): media: Convert struct i2c_msg initialization to C99 format media: Convert struct i2c_msg initialization to C99 format media: Convert struct i2c_msg initialization to C99 format media: Convert struct i2c_msg initialization to

[PATCHv2 1/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
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 --- drivers/media/i2c/ks0127.c | 14 -- 1 files

[PATCHv2 6/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
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 --- drivers/media/i2c/msp3400-driver.c | 42

[PATCHv2 5/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
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 --- drivers/media/radio/saa7706h.c | 16 ++-- 1

[PATCH 3/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-17 Thread Shubhrajyoti D
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 --- drivers/media/i2c/tvaudio.c |4 ++-- 1 files changed, 2

[PATCH 1/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-17 Thread Shubhrajyoti D
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 --- drivers/media/i2c/ks0127.c |4 ++-- 1 files changed, 2

[PATCH 4/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-17 Thread Shubhrajyoti D
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 --- drivers/media/radio/radio-tea5764.c |6 +++--- 1 files

[PATCH 5/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-17 Thread Shubhrajyoti D
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 --- drivers/media/radio/saa7706h.c |4 ++-- 1 files changed

[PATCH 6/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-17 Thread Shubhrajyoti D
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 --- drivers/media/radio/si470x/radio-si470x-i2c.c | 12

[PATCH 0/6] media: input: convert to c99 format

2012-09-17 Thread Shubhrajyoti D
://www.mail-archive.com/cocci@diku.dk/msg02753.html Checkpatch warn of more than 80 chars have been ignored. Shubhrajyoti D (6): media: Convert struct i2c_msg initialization to C99 format media: Convert struct i2c_msg initialization to C99 format media: Convert struct i2c_msg initialization to C99

[PATCH 2/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-17 Thread Shubhrajyoti D
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 --- drivers/media/i2c/msp3400-driver.c | 12 ++-- 1