From 7bfcbd6733bec1c555e62fbc39d1d9dc47ccd852 Mon Sep 17 00:00:00 2001 From: "Leonid V. Fedorenchik" Date: Fri, 2 Sep 2011 11:55:36 +0800 Subject: [PATCH] Staging: cx25821: Fix wrong statement indent in cx25821-i2c.c Fix wrong brace placement and statement indent in cx25821-i2c.c Signed-off-by: Leonid V. Fedorenchik Reviewed-By: Valdis Kletnieks Reviewed-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- drivers/staging/cx25821/cx25821-i2c.c | 30 +++++++++++++-------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/staging/cx25821/cx25821-i2c.c b/drivers/staging/cx25821/cx25821-i2c.c index 130dfebebe20..4d3d0ce40785 100644 --- a/drivers/staging/cx25821/cx25821-i2c.c +++ b/drivers/staging/cx25821/cx25821-i2c.c @@ -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; -- 2.30.2