]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (13554a): v4l: Use the video_drvdata function in drivers
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 07:27:27 +0000 (04:27 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:59:18 +0000 (12:59 -0300)
commit22439eb66702f323b5f7c6cff81fb3c58122e540
tree1d2e4d49dc177f0f711ab4f9ad11cb67007964cb
parentc47afd5c50379263502770d38468d4db16bdab79
V4L/DVB (13554a): v4l: Use the video_drvdata function in drivers

Fix all device drivers to use the video_drvdata function instead of
maintaining a local list of minor to private data mappings. Call
video_set_drvdata to register the driver private pointer when not
already done.

Where applicable, the local list of mappings is completely removed when
it becomes unused.

[mchehab.redhat.com: patch broke into two. This one changes just tm6000]

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-cards.c
drivers/staging/tm6000/tm6000-video.c
drivers/staging/tm6000/tm6000.h