OSDN Git Service

[media] cx23885: use video_drvdata to get cx23885_dev pointer
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 23 Apr 2014 11:43:51 +0000 (08:43 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 3 Sep 2014 10:57:38 +0000 (07:57 -0300)
commit568f44a18e9b63fbb44fcb3292c3530087ae527b
tree927e06dabdc7228fb3fe7599e91f0a27c8770d7f
parent9529a4b0cf49163e489446ec159a2dfb64f78df8
[media] cx23885: use video_drvdata to get cx23885_dev pointer

Use video_drvdata(file) instead of fh->dev to get the cx23885_dev
pointer. This prepares for the vb2 conversion where fh->dev (renamed
to fh->q_dev in this patch) will be removed completely.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/pci/cx23885/cx23885-417.c
drivers/media/pci/cx23885/cx23885-ioctl.c
drivers/media/pci/cx23885/cx23885-vbi.c
drivers/media/pci/cx23885/cx23885-video.c
drivers/media/pci/cx23885/cx23885.h