V4L/DVB (3239): reorganize tuner-simple threshold structure.
authorMichael Krufky <mkrufky@m1k.net>
Mon, 9 Jan 2006 17:25:38 +0000 (15:25 -0200)
committerMauro Carvalho Chehab <mchehab@brturbo.com.br>
Mon, 9 Jan 2006 17:25:38 +0000 (15:25 -0200)
commit90200d2b7f526128671a971ab29db38973bf3f51
treea0ef256cec866e3570b2e398012e002baba226c4
parent21dcd8ccd76e80118f524b1a730c35ab1c46c09e
V4L/DVB (3239): reorganize tuner-simple threshold structure.

- Create an array containing frequency threshold and control byte.
- allows for an arbitrary amount of
frequency ranges to be set, like dvb-pll.
- improves code readability.

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
drivers/media/video/tuner-simple.c