Commit 3d9bb7a6 authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab

[media] smiapp: Don't give the source sub-device a temporary name

The source sub-device's name will be overwritten shortly. Don't give it a
name in the meantime.
Signed-off-by: default avatarSakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent ec176a6f
...@@ -2458,8 +2458,6 @@ static int smiapp_identify_module(struct v4l2_subdev *subdev) ...@@ -2458,8 +2458,6 @@ static int smiapp_identify_module(struct v4l2_subdev *subdev)
minfo->name, minfo->manufacturer_id, minfo->model_id, minfo->name, minfo->manufacturer_id, minfo->model_id,
minfo->revision_number_major); minfo->revision_number_major);
strlcpy(subdev->name, sensor->minfo.name, sizeof(subdev->name));
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment