Staging: cx25821: Fix wrong statement indent in cx25821-i2c.c
authorLeonid V. Fedorenchik <leonidsbox@gmail.com>
Fri, 2 Sep 2011 03:55:36 +0000 (11:55 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 12 Sep 2011 14:46:05 +0000 (16:46 +0200)
Fix wrong brace placement and statement indent in cx25821-i2c.c

Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Reviewed-By: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Reviewed-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/cx25821/cx25821-i2c.c

index 130dfebebe2063daab6fda66540a9285b608de72..4d3d0ce407856ba5753580e0a81835b0e24ab8bb 100644 (file)
@@ -370,16 +370,16 @@ int cx25821_i2c_read(struct cx25821_i2c *bus, u16 reg_addr, int *value)
 
        struct i2c_msg msgs[2] = {
                {
-                .addr = client->addr,
-                .flags = 0,
-                .len = 2,
-                .buf = addr,
-                }, {
-                    .addr = client->addr,
-                    .flags = I2C_M_RD,
-                    .len = 4,
-                    .buf = buf,
-                    }
+                       .addr = client->addr,
+                       .flags = 0,
+                       .len = 2,
+                       .buf = addr,
+               }, {
+                       .addr = client->addr,
+                       .flags = I2C_M_RD,
+                       .len = 4,
+                       .buf = buf,
+               }
        };
 
        addr[0] = (reg_addr >> 8);
@@ -403,11 +403,11 @@ int cx25821_i2c_write(struct cx25821_i2c *bus, u16 reg_addr, int value)
 
        struct i2c_msg msgs[1] = {
                {
-                .addr = client->addr,
-                .flags = 0,
-                .len = 6,
-                .buf = buf,
-                }
+                       .addr = client->addr,
+                       .flags = 0,
+                       .len = 6,
+                       .buf = buf,
+               }
        };
 
        buf[0] = reg_addr >> 8;