media: staging/imx: Move add_video_device into capture_device_register
authorSteve Longerbeam <slongerbeam@gmail.com>
Fri, 10 May 2019 21:50:07 +0000 (17:50 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 28 May 2019 18:10:25 +0000 (14:10 -0400)
commit3e80d125b5075ed66a208cdcb1581e8d414ffd63
treeb62e72a508fbd12ef5432c791886dff45f4937ac
parent34ff38745b166f317530c05ac881aafc20c33041
media: staging/imx: Move add_video_device into capture_device_register

Move imx_media_add_video_device() into imx_media_capture_device_register().
Also the former has no error conditions to convert to void.

Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/staging/media/imx/imx-ic-prpencvf.c
drivers/staging/media/imx/imx-media-capture.c
drivers/staging/media/imx/imx-media-csi.c
drivers/staging/media/imx/imx-media-utils.c
drivers/staging/media/imx/imx-media.h
drivers/staging/media/imx/imx7-media-csi.c