diff options
author | Rene Hickersberger <renehickersberger@gmx.net> | 2017-07-31 13:43:15 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-08-09 16:52:49 +0200 |
commit | a827c1a96b397fe624d5c0c9746e673f4b4d9d50 (patch) | |
tree | c8e3c865b78c2498e4a4bb102f47dda79a792c20 /drivers | |
parent | media: staging: media: atomisp: constify videobuf_queue_ops structures (diff) | |
download | linux-a827c1a96b397fe624d5c0c9746e673f4b4d9d50.tar.xz linux-a827c1a96b397fe624d5c0c9746e673f4b4d9d50.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/media/atomisp/i2c/gc0310.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/media/atomisp/i2c/gc0310.c b/drivers/staging/media/atomisp/i2c/gc0310.c index 0c3caed595f0..35ed51ffe944 100644 --- a/drivers/staging/media/atomisp/i2c/gc0310.c +++ b/drivers/staging/media/atomisp/i2c/gc0310.c @@ -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) |