From: Hans Verkuil Date: Thu, 5 Mar 2015 20:33:17 +0000 (-0300) Subject: [media] marvell-ccic: use vb2 helpers and core locking X-Git-Tag: omap-for-v4.2/fixes-rc1^2~111^2~430 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=949bd4081ffe953af98b6ac7ebe0a8d59996fce9;p=pandora-kernel.git [media] marvell-ccic: use vb2 helpers and core locking Use the V4L2 core locking system instead of rolling your own. Switch to the vb2 fop and ioctl helpers to get rid of a lot of code. This also made it easy to add VB2_READ to the DMA modes, since you get read() for free with vb2 and these helpers. Finally remove the users field: this information is also available from the core framework, no need to keep track of it in the driver. Signed-off-by: Hans Verkuil Acked-by: Jonathan Corbet Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed