]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (7126): tuner: move tuner type ID check to simple_tuner_attach
authorMichael Krufky <mkrufky@linuxtv.org>
Tue, 22 Apr 2008 17:41:50 +0000 (14:41 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 16:42:23 +0000 (13:42 -0300)
commitad84b5ce783404b3e6e41c67b19ff6636299d098
tree9e4d72f4a6710d3435ae51499d74cdf2c7a8f916
parent0e6ab34727343d898d14c7ccb2876ddb6cc0a9bf
V4L/DVB (7126): tuner: move tuner type ID check to simple_tuner_attach

Move tuner type ID check from tuner-core::set_type to simple_tuner_attach.

Since tuner-core forwards all attach requests to tuner-simple as the
default case, unless a specific attach function is specified in
set_type, this change is an appropriate cleanup.

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