V4L/DVB (6585): Convert em28xx to video_ioctl2
authorMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 11 Nov 2007 16:17:17 +0000 (13:17 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:02:07 +0000 (19:02 -0200)
commit195a4ef627e110cd468a69fdb973548e6914577a
treedbd1e2c78d80dea6b24afbfe65dbcaf0f26849ce
parent9e31ced888d1ca49ec5be51ef295e3ce994366c4
V4L/DVB (6585): Convert em28xx to video_ioctl2

Uses the newer ioctl handler at videodev. This patch also cleans up some
bad logic at the driver and do CodingStyle and other cleanups at the
resulting driver.

Also, since VIDIOCMBUF were not working, the V4L1 compat code were removed.
The compat code will eventually be re-inserted, if we find a clean way for
implementing compatibility with the old API.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/em28xx/em28xx-video.c