]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
media: staging: atomisp: i2c: ov5693: Fix style a coding style issue
authorIvan Menshykov <ivan.menshykov@gmail.com>
Wed, 5 Jul 2017 10:07:45 +0000 (06:07 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 19 Jul 2017 20:22:22 +0000 (16:22 -0400)
Fix checkpath errors

Signed-off-by: Ivan Menshykov <ivan.menshykov@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/atomisp/i2c/ov5693/ov5693.c

index d6447398f5efcf43a984a0628ab53bd35a3b57d5..3483a50dae2af7f8c461c7b0b47d5d7eed36ade7 100644 (file)
@@ -146,7 +146,7 @@ static int ov5693_read_reg(struct i2c_client *client,
                return -EINVAL;
        }
 
-       memset(msg, 0 , sizeof(msg));
+       memset(msg, 0, sizeof(msg));
 
        msg[0].addr = client->addr;
        msg[0].flags = 0;
@@ -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,
-                                    u16 addr, u8 * buf)
+                                    u16 addr, u8 *buf)
 {
        u16 index;
        int ret;
@@ -720,7 +720,7 @@ static int ov5693_read_otp_reg_array(struct i2c_client *client, u16 size,
        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 ov5693_device *dev = to_ov5693_sensor(sd);