mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 15:15:47 +00:00
media: staging: media: imx: imx7-media-csi: Drop imx_media_add_video_device call
There's no need to call imx_media_add_video_device() anymore, as the video devices list it manages is only used by the control inheritance mechanism in the helpers, which this driver doesn't use. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Rui Miguel Silva <rmfrfs@gmail.com> Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
23bcc91082
commit
55eb173fe2
1 changed files with 0 additions and 3 deletions
|
@ -1267,9 +1267,6 @@ static int imx7_csi_video_register(struct imx7_csi *csi)
|
|||
return ret;
|
||||
}
|
||||
|
||||
/* Add vdev to the video devices list. */
|
||||
imx_media_add_video_device(&csi->imxmd, &csi->vdev);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue