V4L/DVB (13146): gspca_ov519: cleanup sensor handling
authorHans de Goede <hdegoede@redhat.com>
Mon, 12 Oct 2009 14:32:44 +0000 (11:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:40:34 +0000 (18:40 -0200)
commitebbb5c3e0eb73db4da5bee57cd0344a74cf73319
treea02fc47f82731627aab320a4735c1f2d7b0c4910
parentb46aaa02648cd8c1ebc20191304e2f6a2382d04c
V4L/DVB (13146): gspca_ov519: cleanup sensor handling

There were various "if (sensor == foo)" pieces of code inside ov519.c,
move these bits to the sensor specific init functions, where they
belong.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/ov519.c