From: Andrew Morton fix weird over-parenthesisation Cc: Alessandro Zummo Cc: Michael Hamel Signed-off-by: Andrew Morton --- drivers/rtc/rtc-x1205.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff -puN drivers/rtc/rtc-x1205.c~rtc-x1205-fix-alarm-set-fix drivers/rtc/rtc-x1205.c --- a/drivers/rtc/rtc-x1205.c~rtc-x1205-fix-alarm-set-fix +++ a/drivers/rtc/rtc-x1205.c @@ -101,7 +101,7 @@ static int x1205_get_datetime(struct i2c }; /* read date registers */ - if ((i2c_transfer(client->adapter, &msgs[0], 2)) != 2) { + if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) { dev_err(&client->dev, "%s: read error\n", __func__); return -EIO; } @@ -146,7 +146,7 @@ static int x1205_get_status(struct i2c_c }; /* read status register */ - if ((i2c_transfer(client->adapter, &msgs[0], 2)) != 2) { + if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) { dev_err(&client->dev, "%s: read error\n", __func__); return -EIO; } @@ -300,7 +300,7 @@ static int x1205_get_dtrim(struct i2c_cl }; /* read dtr register */ - if ((i2c_transfer(client->adapter, &msgs[0], 2)) != 2) { + if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) { dev_err(&client->dev, "%s: read error\n", __func__); return -EIO; } @@ -332,7 +332,7 @@ static int x1205_get_atrim(struct i2c_cl }; /* read atr register */ - if ((i2c_transfer(client->adapter, &msgs[0], 2)) != 2) { + if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) { dev_err(&client->dev, "%s: read error\n", __func__); return -EIO; } @@ -465,7 +465,7 @@ static int x1205_rtc_read_alarm(struct d }; /* read interrupt register and status register */ - if ((i2c_transfer(client->adapter, &msgs[0], 2)) != 2) { + if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) { dev_err(&client->dev, "%s: read error\n", __func__); return -EIO; } _