mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 10:01:41 +00:00
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:
parent
38ffab3b52
commit
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)
|
||||
|
Loading…
Reference in New Issue
Block a user