The patch number 9259 was added via Steven Toth <[EMAIL PROTECTED]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        [EMAIL PROTECTED]

------

From: Steven Toth  <[EMAIL PROTECTED]>
s5h1411: Checkpatch compliance


s5h1411: Checkpatch compliance

Priority: normal

Signed-off-by: Steven Toth <[EMAIL PROTECTED]>


---

 linux/drivers/media/dvb/frontends/s5h1411.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff -r 663f22718c16 -r a1957aaa75f4 linux/drivers/media/dvb/frontends/s5h1411.c
--- a/linux/drivers/media/dvb/frontends/s5h1411.c       Thu Oct 16 19:27:11 
2008 -0400
+++ b/linux/drivers/media/dvb/frontends/s5h1411.c       Thu Oct 16 19:27:48 
2008 -0400
@@ -343,7 +343,7 @@ static int s5h1411_writereg(struct s5h14
        u8 addr, u8 reg, u16 data)
 {
        int ret;
-       u8 buf [] = { reg, data >> 8,  data & 0xff };
+       u8 buf[] = { reg, data >> 8,  data & 0xff };
 
        struct i2c_msg msg = { .addr = addr, .flags = 0, .buf = buf, .len = 3 };
 
@@ -359,10 +359,10 @@ static u16 s5h1411_readreg(struct s5h141
 static u16 s5h1411_readreg(struct s5h1411_state *state, u8 addr, u8 reg)
 {
        int ret;
-       u8 b0 [] = { reg };
-       u8 b1 [] = { 0, 0 };
-
-       struct i2c_msg msg [] = {
+       u8 b0[] = { reg };
+       u8 b1[] = { 0, 0 };
+
+       struct i2c_msg msg[] = {
                { .addr = addr, .flags = 0, .buf = b0, .len = 1 },
                { .addr = addr, .flags = I2C_M_RD, .buf = b1, .len = 2 } };
 


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/a1957aaa75f4fbb6f647d05869cf4110ce140885

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to