]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (7129): tuner-simple: move device-specific code into three separate functions
authorMichael Krufky <mkrufky@linuxtv.org>
Tue, 22 Apr 2008 17:41:51 +0000 (14:41 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 16:42:25 +0000 (13:42 -0300)
commitc7a9f3aa1e1b6c7ade5208b30683bec3553c3079
treed97e234bcc7791cff962cbfe1ce144b79045c974
parentb65aa2605683d90966a16abc68112c1fd9e3f3d8
V4L/DVB (7129): tuner-simple: move device-specific code into three separate functions

Move the switch..case blocks with device-specific code from functions
simple_set_tv_freq and simple_set_radio_freq

...into three new functions:
simple_std_setup, simple_post_tune and simple_radio_bandswitch

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tuner-simple.c