aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/tm6000
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2009-12-10 11:55:34 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-18 00:43:44 -0300
commit833724afc0e60fe94da64beb9e1afd390a9948a4 (patch)
tree7e64132439451f98fa4e6420f78b601e50cb953a /drivers/staging/tm6000
parentV4L/DVB (13555a): v4l: Use video_device_node_name() instead of the minor number (diff)
downloadlinux-dev-833724afc0e60fe94da64beb9e1afd390a9948a4.tar.xz
linux-dev-833724afc0e60fe94da64beb9e1afd390a9948a4.zip
V4L/DVB (13556a): v4l: Remove unneeded video_device::minor assignments
Now that the video_device registration is tested using video_is_registered(), drivers don't need to initialize the video_device::minor field to -1 anymore. Remove those unneeded assignments. [mchehab.redhat.com: apply just the tm6000 changes on a separate patch] Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/tm6000')
-rw-r--r--drivers/staging/tm6000/tm6000-video.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/tm6000/tm6000-video.c b/drivers/staging/tm6000/tm6000-video.c
index d853f82f443d..217721f2195c 100644
--- a/drivers/staging/tm6000/tm6000-video.c
+++ b/drivers/staging/tm6000/tm6000-video.c
@@ -1506,7 +1506,6 @@ static struct video_device tm6000_template = {
.name = "tm6000",
.fops = &tm6000_fops,
.ioctl_ops = &video_ioctl_ops,
- .minor = -1,
.release = video_device_release,
.tvnorms = TM6000_STD,
.current_norm = V4L2_STD_NTSC_M,