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:
Родитель
38ffab3b52
Коммит
a827c1a96b
|
@ -118,9 +118,8 @@ static int gc0310_write_reg(struct i2c_client *client, u16 data_length,
|
|||
/* high byte goes out first */
|
||||
*wreg = (u8)(reg & 0xff);
|
||||
|
||||
if (data_length == GC0310_8BIT) {
|
||||
if (data_length == GC0310_8BIT)
|
||||
data[1] = (u8)(val);
|
||||
}
|
||||
|
||||
ret = gc0310_i2c_write(client, len, data);
|
||||
if (ret)
|
||||
|
|
Загрузка…
Ссылка в новой задаче