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)
commite8d0416796d43a950ec7b65629e53419b2e22453
tree1d2e4d49dc177f0f711ab4f9ad11cb67007964cb
parent6b46c3977cdb34a199bbca20ef67b1e13335c43d
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