summaryrefslogtreecommitdiff
path: root/drivers/extcon
diff options
context:
space:
mode:
authorFrank Schaefer <fschaefer.oss@googlemail.com>2014-07-25 14:48:58 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-26 16:45:14 -0300
commit747dba7de2a51a3db58b665ed3bc8c07921546ec (patch)
tree560155bcd7477ea26608e1d8deb127122d04cb07 /drivers/extcon
parent3c0f90e14caf97896cd347b3b9fec8cba6b56b14 (diff)
[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 <fschaefer.oss@googlemail.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/extcon')
0 files changed, 0 insertions, 0 deletions