From: Frank Schaefer Date: Fri, 25 Jul 2014 17:48:58 +0000 (-0300) Subject: [media] em28xx-v4l: get rid of field "users" in struct em28xx_v4l2 X-Git-Tag: omap-for-v3.17/fixes-against-rc2~155^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=747dba7de2a51a3db58b665ed3bc8c07921546ec;p=pandora-kernel.git [media] em28xx-v4l: get rid of field "users" in struct em28xx_v4l2 Instead of counting the number of opened file handles, use function v4l2_fh_is_singular_file() in em28xx_v4l2_open() and em28xx_v4l2_close() to determine if the file handle is the first/last opened one. Signed-off-by: Frank Schäfer Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed