]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
media: i2c: thp7312: Convert comma to semicolon
authorChen Ni <nichen@iscas.ac.cn>
Tue, 2 Jul 2024 02:57:11 +0000 (10:57 +0800)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Fri, 9 Aug 2024 05:56:38 +0000 (07:56 +0200)
Replace a comma between expression statements by a semicolon.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/i2c/thp7312.c

index 19bd923a7315bd92919f7cbfb3e3ab8048c15ba4..75225ff5eff6f846e155e9f9b56ee7100926d861 100644 (file)
@@ -1503,7 +1503,7 @@ static int __thp7312_flash_reg_read(struct thp7312_device *thp7312,
 
        msgs[0].addr = client->addr;
        msgs[0].flags = 0;
-       msgs[0].len = sizeof(thp7312_cmd_read_reg),
+       msgs[0].len = sizeof(thp7312_cmd_read_reg);
        msgs[0].buf = (u8 *)thp7312_cmd_read_reg;
 
        msgs[1].addr = client->addr;