Commit 14c23a51 authored by Ivan Menshykov's avatar Ivan Menshykov Committed by Mauro Carvalho Chehab

media: staging: atomisp: i2c: ov5693: Fix style a coding style issue

Fix checkpath errors
Signed-off-by: default avatarIvan Menshykov <ivan.menshykov@gmail.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 6da2fa86
...@@ -146,7 +146,7 @@ static int ov5693_read_reg(struct i2c_client *client, ...@@ -146,7 +146,7 @@ static int ov5693_read_reg(struct i2c_client *client,
return -EINVAL; return -EINVAL;
} }
memset(msg, 0 , sizeof(msg)); memset(msg, 0, sizeof(msg));
msg[0].addr = client->addr; msg[0].addr = client->addr;
msg[0].flags = 0; msg[0].flags = 0;
...@@ -702,7 +702,7 @@ static long ov5693_s_exposure(struct v4l2_subdev *sd, ...@@ -702,7 +702,7 @@ static long ov5693_s_exposure(struct v4l2_subdev *sd,
} }
static int ov5693_read_otp_reg_array(struct i2c_client *client, u16 size, static int ov5693_read_otp_reg_array(struct i2c_client *client, u16 size,
u16 addr, u8 * buf) u16 addr, u8 *buf)
{ {
u16 index; u16 index;
int ret; int ret;
...@@ -720,7 +720,7 @@ static int ov5693_read_otp_reg_array(struct i2c_client *client, u16 size, ...@@ -720,7 +720,7 @@ static int ov5693_read_otp_reg_array(struct i2c_client *client, u16 size,
return 0; return 0;
} }
static int __ov5693_otp_read(struct v4l2_subdev *sd, u8 * buf) static int __ov5693_otp_read(struct v4l2_subdev *sd, u8 *buf)
{ {
struct i2c_client *client = v4l2_get_subdevdata(sd); struct i2c_client *client = v4l2_get_subdevdata(sd);
struct ov5693_device *dev = to_ov5693_sensor(sd); struct ov5693_device *dev = to_ov5693_sensor(sd);
......
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