Browse Source

[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: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Sakari Ailus 10 years ago
parent
commit
3d9bb7a620
1 changed files with 0 additions and 2 deletions
  1. 0 2
      drivers/media/i2c/smiapp/smiapp-core.c

+ 0 - 2
drivers/media/i2c/smiapp/smiapp-core.c

@@ -2458,8 +2458,6 @@ static int smiapp_identify_module(struct v4l2_subdev *subdev)
 		minfo->name, minfo->manufacturer_id, minfo->model_id,
 		minfo->revision_number_major);
 
-	strlcpy(subdev->name, sensor->minfo.name, sizeof(subdev->name));
-
 	return 0;
 }