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

Fixed a brace coding style issue.

Signed-off-by: Rene Hickersberger <renehickersberger@gmx.net>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Rene Hickersberger 2017-07-31 07:43:15 -04:00 committed by Mauro Carvalho Chehab
parent 38ffab3b52
commit a827c1a96b

View File

@ -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)