linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] tvp514x/tvp7002 remove manual setting of subdev names
@ 2013-06-24 15:47 Prabhakar Lad
  2013-06-24 15:47 ` [PATCH 1/2] media: i2c: tvp7002: remove manual setting of subdev name Prabhakar Lad
  2013-06-24 15:47 ` [PATCH 2/2] media: i2c: tvp514x: " Prabhakar Lad
  0 siblings, 2 replies; 3+ messages in thread
From: Prabhakar Lad @ 2013-06-24 15:47 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, LMML
  Cc: DLOS, LKML, Laurent Pinchart, Hans Verkuil, Lad, Prabhakar

From: "Lad, Prabhakar" <prabhakar.csengg@gmail.com>

This patch series removes manual setting of subdev names, as
ideally the subdev names must be unique and this would not be
the case if there are two devices.

Lad, Prabhakar (2):
  media: i2c: tvp7002: remove manual setting of subdev name
  media: i2c: tvp514x: remove manual setting of subdev name

 drivers/media/i2c/tvp514x.c |    1 -
 drivers/media/i2c/tvp7002.c |    1 -
 2 files changed, 2 deletions(-)

-- 
1.7.9.5


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

* [PATCH 1/2] media: i2c: tvp7002: remove manual setting of subdev name
  2013-06-24 15:47 [PATCH 0/2] tvp514x/tvp7002 remove manual setting of subdev names Prabhakar Lad
@ 2013-06-24 15:47 ` Prabhakar Lad
  2013-06-24 15:47 ` [PATCH 2/2] media: i2c: tvp514x: " Prabhakar Lad
  1 sibling, 0 replies; 3+ messages in thread
From: Prabhakar Lad @ 2013-06-24 15:47 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, LMML
  Cc: DLOS, LKML, Laurent Pinchart, Hans Verkuil, Lad, Prabhakar, Hans Verkuil

From: "Lad, Prabhakar" <prabhakar.csengg@gmail.com>

This patch removes manual setting of subdev name in the
probe, ideally subdev names must be unique.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Cc: Hans Verkuil <hverkuil@xs4all.nl>
---
 drivers/media/i2c/tvp7002.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/media/i2c/tvp7002.c b/drivers/media/i2c/tvp7002.c
index 4896024..ba8a7b5 100644
--- a/drivers/media/i2c/tvp7002.c
+++ b/drivers/media/i2c/tvp7002.c
@@ -1065,7 +1065,6 @@ static int tvp7002_probe(struct i2c_client *c, const struct i2c_device_id *id)
 	error = tvp7002_s_dv_timings(sd, &timings);
 
 #if defined(CONFIG_MEDIA_CONTROLLER)
-	strlcpy(sd->name, TVP7002_MODULE_NAME, sizeof(sd->name));
 	device->pad.flags = MEDIA_PAD_FL_SOURCE;
 	device->sd.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE;
 	device->sd.entity.flags |= MEDIA_ENT_T_V4L2_SUBDEV_DECODER;
-- 
1.7.9.5


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

* [PATCH 2/2] media: i2c: tvp514x: remove manual setting of subdev name
  2013-06-24 15:47 [PATCH 0/2] tvp514x/tvp7002 remove manual setting of subdev names Prabhakar Lad
  2013-06-24 15:47 ` [PATCH 1/2] media: i2c: tvp7002: remove manual setting of subdev name Prabhakar Lad
@ 2013-06-24 15:47 ` Prabhakar Lad
  1 sibling, 0 replies; 3+ messages in thread
From: Prabhakar Lad @ 2013-06-24 15:47 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, LMML
  Cc: DLOS, LKML, Laurent Pinchart, Hans Verkuil, Lad, Prabhakar, Hans Verkuil

From: "Lad, Prabhakar" <prabhakar.csengg@gmail.com>

This patch removes manual setting of subdev name in the
probe, ideally subdev names must be unique.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Cc: Hans Verkuil <hverkuil@xs4all.nl>
---
 drivers/media/i2c/tvp514x.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/media/i2c/tvp514x.c b/drivers/media/i2c/tvp514x.c
index 864eb14..6578976 100644
--- a/drivers/media/i2c/tvp514x.c
+++ b/drivers/media/i2c/tvp514x.c
@@ -1148,7 +1148,6 @@ tvp514x_probe(struct i2c_client *client, const struct i2c_device_id *id)
 	/* Register with V4L2 layer as slave device */
 	sd = &decoder->sd;
 	v4l2_i2c_subdev_init(sd, client, &tvp514x_ops);
-	strlcpy(sd->name, TVP514X_MODULE_NAME, sizeof(sd->name));
 
 #if defined(CONFIG_MEDIA_CONTROLLER)
 	decoder->pad.flags = MEDIA_PAD_FL_SOURCE;
-- 
1.7.9.5


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

end of thread, other threads:[~2013-06-24 15:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-24 15:47 [PATCH 0/2] tvp514x/tvp7002 remove manual setting of subdev names Prabhakar Lad
2013-06-24 15:47 ` [PATCH 1/2] media: i2c: tvp7002: remove manual setting of subdev name Prabhakar Lad
2013-06-24 15:47 ` [PATCH 2/2] media: i2c: tvp514x: " Prabhakar Lad

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).