[media] uvcvideo: (cosmetic) Add and use an inline function
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Mon, 12 Dec 2016 11:16:49 +0000 (09:16 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Jan 2017 12:53:56 +0000 (10:53 -0200)
commitbb1d34875cac75b809230aafbceebce813c9175b
treee2e317f37d94c7e6376a1f0f776dc35921f115b0
parent239dd6164c867f31e1d37b065724c893237d2627
[media] uvcvideo: (cosmetic) Add and use an inline function

Add an inline function to obtain a struct uvc_buffer pointer from a
struct vb2_v4l2_buffer one.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@intel.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/uvc/uvc_queue.c