media: uvcvideo: Rename uvc_{un,}init_video()
authorKieran Bingham <kieran.bingham@ideasonboard.com>
Mon, 5 Nov 2018 15:41:09 +0000 (10:41 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 5 Dec 2018 08:18:07 +0000 (03:18 -0500)
commitfb58e16bb7838338b76b6fd03fdc3032c1841a9d
tree176d42715bef0e4b94e979c5fcc43a812ce450a6
parent571e70dbd42105611419ccc38266d58f8e0a22ee
media: uvcvideo: Rename uvc_{un,}init_video()

We have both uvc_init_video() and uvc_video_init() calls which can be
quite confusing to determine the process for each. Now that video
uvc_video_enable() has been renamed to uvc_video_start_streaming(),
adapt these calls to suit the new flow.

Rename uvc_init_video() to uvc_video_start_transfer() and
uvc_uninit_video() to uvc_video_stop_transfer().

Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/usb/uvc/uvc_video.c