linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/6] [media] vim2m: Remove surplus name initialization
@ 2018-06-12 10:11 Anton Leontiev
  2018-06-12 10:11 ` [PATCH 2/6] [media] ti-vpe: " Anton Leontiev
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Anton Leontiev @ 2018-06-12 10:11 UTC (permalink / raw)
  To: linux-media; +Cc: Mauro Carvalho Chehab

Name is already initialized by assignment from vim2m_videodev.

Signed-off-by: Anton Leontiev <scileont@gmail.com>
---
 drivers/media/platform/vim2m.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/media/platform/vim2m.c b/drivers/media/platform/vim2m.c
index 065483e62db4..1393aa806462 100644
--- a/drivers/media/platform/vim2m.c
+++ b/drivers/media/platform/vim2m.c
@@ -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);
 
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/6] [media] ti-vpe: Remove surplus name initialization
  2018-06-12 10:11 [PATCH 1/6] [media] vim2m: Remove surplus name initialization Anton Leontiev
@ 2018-06-12 10:11 ` Anton Leontiev
  2018-06-12 10:11 ` [PATCH 3/6] [media] s5p-g2d: " Anton Leontiev
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Anton Leontiev @ 2018-06-12 10:11 UTC (permalink / raw)
  To: linux-media; +Cc: Benoit Parrot, Mauro Carvalho Chehab

Name is already initialized by assignment from vpe_videodev.

Signed-off-by: Anton Leontiev <scileont@gmail.com>
---
 drivers/media/platform/ti-vpe/vpe.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/media/platform/ti-vpe/vpe.c b/drivers/media/platform/ti-vpe/vpe.c
index e395aa85c8ad..de968295ca7d 100644
--- a/drivers/media/platform/ti-vpe/vpe.c
+++ b/drivers/media/platform/ti-vpe/vpe.c
@@ -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);
 }
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 3/6] [media] s5p-g2d: Remove surplus name initialization
  2018-06-12 10:11 [PATCH 1/6] [media] vim2m: Remove surplus name initialization Anton Leontiev
  2018-06-12 10:11 ` [PATCH 2/6] [media] ti-vpe: " Anton Leontiev
@ 2018-06-12 10:11 ` Anton Leontiev
  2018-06-12 10:11 ` [PATCH 4/6] [media] mx2: " Anton Leontiev
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Anton Leontiev @ 2018-06-12 10:11 UTC (permalink / raw)
  To: linux-media
  Cc: Kyungmin Park, Kamil Debski, Andrzej Hajda, Mauro Carvalho Chehab

Name is already initialized by assignment from g2d_videodev.

Signed-off-by: Anton Leontiev <scileont@gmail.com>
---
 drivers/media/platform/s5p-g2d/g2d.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/media/platform/s5p-g2d/g2d.c b/drivers/media/platform/s5p-g2d/g2d.c
index 66aa8cf1d048..3735c204e9ac 100644
--- a/drivers/media/platform/s5p-g2d/g2d.c
+++ b/drivers/media/platform/s5p-g2d/g2d.c
@@ -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);
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 4/6] [media] mx2: Remove surplus name initialization
  2018-06-12 10:11 [PATCH 1/6] [media] vim2m: Remove surplus name initialization Anton Leontiev
  2018-06-12 10:11 ` [PATCH 2/6] [media] ti-vpe: " Anton Leontiev
  2018-06-12 10:11 ` [PATCH 3/6] [media] s5p-g2d: " Anton Leontiev
@ 2018-06-12 10:11 ` Anton Leontiev
  2018-06-12 10:11 ` [PATCH 5/6] [media] m2m-deinterlace: " Anton Leontiev
  2018-06-12 10:11 ` [PATCH 6/6] [media] rga: " Anton Leontiev
  4 siblings, 0 replies; 6+ messages in thread
From: Anton Leontiev @ 2018-06-12 10:11 UTC (permalink / raw)
  To: linux-media; +Cc: Mauro Carvalho Chehab

Name is already initialized by assignment from emmaprp_videodev.

Signed-off-by: Anton Leontiev <scileont@gmail.com>
---
 drivers/media/platform/mx2_emmaprp.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/media/platform/mx2_emmaprp.c b/drivers/media/platform/mx2_emmaprp.c
index 5a8eff60e95f..2e64729134b2 100644
--- a/drivers/media/platform/mx2_emmaprp.c
+++ b/drivers/media/platform/mx2_emmaprp.c
@@ -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);
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 5/6] [media] m2m-deinterlace: Remove surplus name initialization
  2018-06-12 10:11 [PATCH 1/6] [media] vim2m: Remove surplus name initialization Anton Leontiev
                   ` (2 preceding siblings ...)
  2018-06-12 10:11 ` [PATCH 4/6] [media] mx2: " Anton Leontiev
@ 2018-06-12 10:11 ` Anton Leontiev
  2018-06-12 10:11 ` [PATCH 6/6] [media] rga: " Anton Leontiev
  4 siblings, 0 replies; 6+ messages in thread
From: Anton Leontiev @ 2018-06-12 10:11 UTC (permalink / raw)
  To: linux-media; +Cc: Mauro Carvalho Chehab

Name is already initialized by assignment from deinterlace_videodev.

Signed-off-by: Anton Leontiev <scileont@gmail.com>
---
 drivers/media/platform/m2m-deinterlace.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/media/platform/m2m-deinterlace.c b/drivers/media/platform/m2m-deinterlace.c
index 1e4195144f39..3008892eb8dd 100644
--- a/drivers/media/platform/m2m-deinterlace.c
+++ b/drivers/media/platform/m2m-deinterlace.c
@@ -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);
 
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 6/6] [media] rga: Remove surplus name initialization
  2018-06-12 10:11 [PATCH 1/6] [media] vim2m: Remove surplus name initialization Anton Leontiev
                   ` (3 preceding siblings ...)
  2018-06-12 10:11 ` [PATCH 5/6] [media] m2m-deinterlace: " Anton Leontiev
@ 2018-06-12 10:11 ` Anton Leontiev
  4 siblings, 0 replies; 6+ messages in thread
From: Anton Leontiev @ 2018-06-12 10:11 UTC (permalink / raw)
  To: linux-media; +Cc: Jacob chen, Mauro Carvalho Chehab, Heiko Stuebner

Name is already initialized by assignment from rga_videodev.

Signed-off-by: Anton Leontiev <scileont@gmail.com>
---
 drivers/media/platform/rockchip/rga/rga.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/media/platform/rockchip/rga/rga.c b/drivers/media/platform/rockchip/rga/rga.c
index d508a8ba6f89..e8dffca669a1 100644
--- a/drivers/media/platform/rockchip/rga/rga.c
+++ b/drivers/media/platform/rockchip/rga/rga.c
@@ -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);
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-06-12 10:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-12 10:11 [PATCH 1/6] [media] vim2m: Remove surplus name initialization Anton Leontiev
2018-06-12 10:11 ` [PATCH 2/6] [media] ti-vpe: " Anton Leontiev
2018-06-12 10:11 ` [PATCH 3/6] [media] s5p-g2d: " Anton Leontiev
2018-06-12 10:11 ` [PATCH 4/6] [media] mx2: " Anton Leontiev
2018-06-12 10:11 ` [PATCH 5/6] [media] m2m-deinterlace: " Anton Leontiev
2018-06-12 10:11 ` [PATCH 6/6] [media] rga: " Anton Leontiev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).