From 747dba7de2a51a3db58b665ed3bc8c07921546ec Mon Sep 17 00:00:00 2001 From: Frank Schaefer Date: Fri, 25 Jul 2014 14:48:58 -0300 Subject: [PATCH] [media] em28xx-v4l: get rid of field "users" in struct em28xx_v4l2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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-format-patch failed