diff mbox series

[-next] media/platform/coda: convert comma to semicolon

Message ID 20201216132123.15099-1-zhengyongjun3@huawei.com
State New
Headers show
Series [-next] media/platform/coda: convert comma to semicolon | expand

Commit Message

Zheng Yongjun Dec. 16, 2020, 1:21 p.m. UTC
Replace a comma between expression statements by a semicolon.

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
---
 drivers/media/platform/coda/coda-common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Philipp Zabel Jan. 4, 2021, 9:24 a.m. UTC | #1
On Wed, 2020-12-16 at 21:21 +0800, Zheng Yongjun wrote:
> Replace a comma between expression statements by a semicolon.

> 

> Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>

> ---

>  drivers/media/platform/coda/coda-common.c | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/drivers/media/platform/coda/coda-common.c b/drivers/media/platform/coda/coda-common.c

> index 87a2c706f747..547ad34b1424 100644

> --- a/drivers/media/platform/coda/coda-common.c

> +++ b/drivers/media/platform/coda/coda-common.c

> @@ -2861,7 +2861,7 @@ static int coda_register_device(struct coda_dev *dev, int i)

>  	strscpy(vfd->name, dev->devtype->vdevs[i]->name, sizeof(vfd->name));

>  	vfd->fops	= &coda_fops;

>  	vfd->ioctl_ops	= &coda_ioctl_ops;

> -	vfd->release	= video_device_release_empty,

> +	vfd->release	= video_device_release_empty;

>  	vfd->lock	= &dev->dev_mutex;

>  	vfd->v4l2_dev	= &dev->v4l2_dev;

>  	vfd->vfl_dir	= VFL_DIR_M2M;


Thank you,

Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>


regards
Philipp
diff mbox series

Patch

diff --git a/drivers/media/platform/coda/coda-common.c b/drivers/media/platform/coda/coda-common.c
index 87a2c706f747..547ad34b1424 100644
--- a/drivers/media/platform/coda/coda-common.c
+++ b/drivers/media/platform/coda/coda-common.c
@@ -2861,7 +2861,7 @@  static int coda_register_device(struct coda_dev *dev, int i)
 	strscpy(vfd->name, dev->devtype->vdevs[i]->name, sizeof(vfd->name));
 	vfd->fops	= &coda_fops;
 	vfd->ioctl_ops	= &coda_ioctl_ops;
-	vfd->release	= video_device_release_empty,
+	vfd->release	= video_device_release_empty;
 	vfd->lock	= &dev->dev_mutex;
 	vfd->v4l2_dev	= &dev->v4l2_dev;
 	vfd->vfl_dir	= VFL_DIR_M2M;