[media] em28xx-v4l: get rid of field "users" in struct em28xx_v4l2
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Fri, 25 Jul 2014 17:48:58 +0000 (14:48 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 26 Jul 2014 19:45:14 +0000 (16:45 -0300)
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 <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>

No differences found