Commit a827c1a9 authored by Rene Hickersberger's avatar Rene Hickersberger Committed by Mauro Carvalho Chehab

media: staging: media: atomisp: i2c: gc0310: fixed brace coding style issue

Fixed a brace coding style issue.
Signed-off-by: default avatarRene Hickersberger <renehickersberger@gmx.net>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 38ffab3b
...@@ -118,9 +118,8 @@ static int gc0310_write_reg(struct i2c_client *client, u16 data_length, ...@@ -118,9 +118,8 @@ static int gc0310_write_reg(struct i2c_client *client, u16 data_length,
/* high byte goes out first */ /* high byte goes out first */
*wreg = (u8)(reg & 0xff); *wreg = (u8)(reg & 0xff);
if (data_length == GC0310_8BIT) { if (data_length == GC0310_8BIT)
data[1] = (u8)(val); data[1] = (u8)(val);
}
ret = gc0310_i2c_write(client, len, data); ret = gc0310_i2c_write(client, len, data);
if (ret) if (ret)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment