[media] bt8xx: remove needless module refcounting
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Fri, 8 Apr 2016 23:09:49 +0000 (20:09 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 8 Jul 2016 19:16:53 +0000 (16:16 -0300)
commit654043f002b5ec954aef5baafeb37b3158b0352d
tree1bdd0f1560496e42a02d772d69c0d91ed404f77c
parentd54fc3bbc25641c7a0921902101a30a1d3e8ac98
[media] bt8xx: remove needless module refcounting

It is responsibility of a caller of fops->open(),
to make sure an owner of the fops is available until file is closed.
So, there is no need to lock THIS_MODULE explicitly.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/bt8xx/dst_ca.c