summaryrefslogtreecommitdiffstats
path: root/drivers/staging/tm6000/tm6000-cards.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-05-18 04:27:27 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 12:59:18 -0300
commite8d0416796d43a950ec7b65629e53419b2e22453 (patch)
tree1d2e4d49dc177f0f711ab4f9ad11cb67007964cb /drivers/staging/tm6000/tm6000-cards.c
parent6b46c3977cdb34a199bbca20ef67b1e13335c43d (diff)
downloadop-kernel-dev-e8d0416796d43a950ec7b65629e53419b2e22453.zip
op-kernel-dev-e8d0416796d43a950ec7b65629e53419b2e22453.tar.gz
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>
Diffstat (limited to 'drivers/staging/tm6000/tm6000-cards.c')
-rw-r--r--drivers/staging/tm6000/tm6000-cards.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/tm6000/tm6000-cards.c b/drivers/staging/tm6000/tm6000-cards.c
index 160b4d7..6143e20 100644
--- a/drivers/staging/tm6000/tm6000-cards.c
+++ b/drivers/staging/tm6000/tm6000-cards.c
@@ -791,7 +791,6 @@ static int tm6000_usb_probe(struct usb_interface *interface,
if ((card[nr] >= 0) && (card[nr] < ARRAY_SIZE(tm6000_boards)))
dev->model = card[nr];
- INIT_LIST_HEAD(&dev->tm6000_corelist);
dev->udev = usbdev;
dev->devno = nr;
OpenPOWER on IntegriCloud