]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (9259): s5h1411: Checkpatch compliance
authorSteven Toth <stoth@linuxtv.org>
Thu, 16 Oct 2008 23:27:48 +0000 (20:27 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 17 Oct 2008 20:27:52 +0000 (17:27 -0300)
s5h1411: Checkpatch compliance

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/s5h1411.c

index 2da1a3763de93ce16eba814d3ee8ff5a6ffc0d1e..2febfb5a846bc0922e31d75daf779c7cb0fe5ed3 100644 (file)
@@ -343,7 +343,7 @@ static int s5h1411_writereg(struct s5h1411_state *state,
        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 int s5h1411_writereg(struct s5h1411_state *state,
 static u16 s5h1411_readreg(struct s5h1411_state *state, u8 addr, u8 reg)
 {
        int ret;
-       u8 b0 [] = { reg };
-       u8 b1 [] = { 0, 0 };
+       u8 b0[] = { reg };
+       u8 b1[] = { 0, 0 };
 
-       struct i2c_msg msg [] = {
+       struct i2c_msg msg[] = {
                { .addr = addr, .flags = 0, .buf = b0, .len = 1 },
                { .addr = addr, .flags = I2C_M_RD, .buf = b1, .len = 2 } };