diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2013-06-24 11:47:26 -0300 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 11:48:45 +0900 |
commit | 26fa9a5b2792fd5c9ce043c3fa6f5e06bf0726c3 (patch) | |
tree | 6efec65c8a3c3786f9dcdd680770d3473a881b95 | |
parent | d6fc6edbf728d2c388965f5b62a45decdf2dd25d (diff) | |
download | linux-3.10-26fa9a5b2792fd5c9ce043c3fa6f5e06bf0726c3.tar.gz linux-3.10-26fa9a5b2792fd5c9ce043c3fa6f5e06bf0726c3.tar.bz2 linux-3.10-26fa9a5b2792fd5c9ce043c3fa6f5e06bf0726c3.zip |
upstream: [media] media: i2c: tvp514x: remove manual setting of subdev name
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>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/i2c/tvp514x.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/i2c/tvp514x.c b/drivers/media/i2c/tvp514x.c index 03289e57a21..9c6d66a9868 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; |