[media] media: drivers shouldn't touch debug field in video_device
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 1 Dec 2014 13:10:43 +0000 (10:10 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 23 Dec 2014 12:29:04 +0000 (10:29 -0200)
commit21a7e0596a63abdf12a9591c29359f7f15e18c16
treea66dfa80fd4c25263afdbbe778548af045cb68b8
parente476f4e15d859d1112872667983918bdfa4e663b
[media] media: drivers shouldn't touch debug field in video_device

The debug field in struct video_device is for internal use only and
drivers should mix that with their own debug module options.

It is handled by the V4L2 core and users can set it using
/sys/class/video4linux/<devX>/debug.

It has been deprecated for some time now, so it is time to remove it
completely from the drivers.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
12 files changed:
drivers/media/pci/bt8xx/bttv-driver.c
drivers/media/pci/cx88/cx88-blackbird.c
drivers/media/platform/marvell-ccic/mcam-core.c
drivers/media/usb/cx231xx/cx231xx-video.c
drivers/media/usb/em28xx/em28xx-video.c
drivers/media/usb/stk1160/stk1160-v4l.c
drivers/media/usb/stkwebcam/stk-webcam.c
drivers/media/usb/tm6000/tm6000-video.c
drivers/media/usb/zr364xx/zr364xx.c
drivers/staging/media/tlg2300/pd-common.h
drivers/staging/media/tlg2300/pd-radio.c
drivers/staging/media/tlg2300/pd-video.c