V4L/DVB (13557): v4l: Remove unneeded video_device::minor usage in drivers
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 27 Nov 2009 16:57:55 +0000 (13:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 16 Dec 2009 02:17:58 +0000 (00:17 -0200)
commit327ae59757f2e56fd3fc2b11acbd0a7c4070f4e8
treee6d1f1b18e49560349194659cfb4b30ff40da9de
parent46b21094cee16bc7e531d7d6cd66fb5ea05065d4
V4L/DVB (13557): v4l: Remove unneeded video_device::minor usage in drivers

The video_device::minor field is used where it shouldn't, either to

- test for error conditions that can't happen anymore with the current
  v4l-dvb core,
- store the value in a driver private field that isn't used anymore,
- check the video device type where video_device::vfl_type should be
  used, or
- create the name of a kernel thread that should get a stable name.

Remove or fix those use cases.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/saa7146_fops.c
drivers/media/radio/radio-tea5764.c
drivers/media/video/bt8xx/bttv-driver.c
drivers/media/video/gspca/sn9c20x.c
drivers/media/video/omap24xxcam.c
include/media/saa7146_vv.h