vim2m: Remove surplus name initialization
PATCH 1/6 vim2m: Remove surplus name initialization
Name is already initialized by assignment from vim2m_videodev.
Signed-off-by Anton Leontiev <[email protected]>
--- drivers/media/platform/vim2m.c | 1 - 1 file changed, 1 deletion(-)
drivers/media/platform/vim2m.c +0 -1
@@ -1020,7 +1020,6 @@ static int vim2m_probe(struct platform_device *pdev) }video_set_drvdata (vfd, dev); -snprintf (vfd->name,sizeof (vfd->name),"%s" , vim2m_videodev.name);v4l2_info (&dev->v4l2_dev,"Device registered as /dev/video%d\n" , vfd->num);
Signature · 1 line
2.17.1
PATCH 2/6 ti-vpe: Remove surplus name initialization
Name is already initialized by assignment from vpe_videodev.
Signed-off-by Anton Leontiev <[email protected]>
--- drivers/media/platform/ti-vpe/vpe.c | 1 - 1 file changed, 1 deletion(-)
drivers/media/platform/ti-vpe/vpe.c +0 -1
@@ -2485,7 +2485,6 @@ static void vpe_fw_cb(struct platform_device *pdev) }video_set_drvdata (vfd, dev); -snprintf (vfd->name,sizeof (vfd->name),"%s" , vpe_videodev.name);dev_info (dev->v4l2_dev.dev,"Device registered as /dev/video%d\n" , vfd->num); }
Signature · 1 line
2.17.1
PATCH 3/6 s5p-g2d: Remove surplus name initialization
In reply to Anton LeontievName is already initialized by assignment from g2d_videodev.
Signed-off-by Anton Leontiev <[email protected]>
--- drivers/media/platform/s5p-g2d/g2d.c | 1 - 1 file changed, 1 deletion(-)
drivers/media/platform/s5p-g2d/g2d.c +0 -1
@@ -702,7 +702,6 @@ static int g2d_probe(struct platform_device *pdev) goto rel_vdev; }video_set_drvdata (vfd, dev); -snprintf (vfd->name,sizeof (vfd->name),"%s" , g2d_videodev.name); dev->vfd = vfd;v4l2_info (&dev->v4l2_dev,"device registered as /dev/video%d\n" , vfd->num);
Signature · 1 line
2.17.1
PATCH 4/6 mx2: Remove surplus name initialization
In reply to Anton LeontievName is already initialized by assignment from emmaprp_videodev.
Signed-off-by Anton Leontiev <[email protected]>
--- drivers/media/platform/mx2_emmaprp.c | 1 - 1 file changed, 1 deletion(-)
drivers/media/platform/mx2_emmaprp.c +0 -1
@@ -934,7 +934,6 @@ static int emmaprp_probe(struct platform_device *pdev) vfd->v4l2_dev = &pcdev->v4l2_dev;video_set_drvdata (vfd, pcdev); -snprintf (vfd->name,sizeof (vfd->name),"%s" , emmaprp_videodev.name); pcdev->vfd = vfd;v4l2_info (&pcdev->v4l2_dev,EMMAPRP_MODULE_NAME " Device registered as /dev/video%d\n" , vfd->num);
Signature · 1 line
2.17.1
PATCH 5/6 m2m-deinterlace: Remove surplus name initialization
In reply to Anton LeontievName is already initialized by assignment from deinterlace_videodev.
Signed-off-by Anton Leontiev <[email protected]>
--- drivers/media/platform/m2m-deinterlace.c | 1 - 1 file changed, 1 deletion(-)
drivers/media/platform/m2m-deinterlace.c +0 -1
@@ -1040,7 +1040,6 @@ static int deinterlace_probe(struct platform_device *pdev) }video_set_drvdata (vfd, pcdev); -snprintf (vfd->name,sizeof (vfd->name),"%s" , deinterlace_videodev.name);v4l2_info (&pcdev->v4l2_dev,MEM2MEM_TEST_MODULE_NAME " Device registered as /dev/video%d\n" , vfd->num);
Signature · 1 line
2.17.1
PATCH 6/6 rga: Remove surplus name initialization
In reply to Anton LeontievName is already initialized by assignment from rga_videodev.
Signed-off-by Anton Leontiev <[email protected]>
--- drivers/media/platform/rockchip/rga/rga.c | 1 - 1 file changed, 1 deletion(-)
drivers/media/platform/rockchip/rga/rga.c +0 -1
@@ -882,7 +882,6 @@ static int rga_probe(struct platform_device *pdev) vfd->v4l2_dev = &rga->v4l2_dev;video_set_drvdata (vfd, rga); -snprintf (vfd->name,sizeof (vfd->name),"%s" , rga_videodev.name); rga->vfd = vfd;platform_set_drvdata (pdev, rga);
Signature · 1 line
2.17.1