]> git.baikalelectronics.ru Git - kernel.git/commit
[media] tuner-core: dead code removal
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 15 Feb 2011 03:55:18 +0000 (00:55 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 21 Mar 2011 23:32:02 +0000 (20:32 -0300)
commit889199d7405fb20fa52a17e937016f42914037ea
treef51bffb376a6b946aaee565593cdd49df123645b
parent5e49bedc4685e0460aaf6c491a90435bfcb0d526
[media] tuner-core: dead code removal

Remove the now obsolete set_freq. Also merge set_addr and set_type_addr.

In the past, it used to have two different setup calls, one to set just
the tuner type to any tuner found, and another to set the type only if
the address matches. Those two internal calls were grouped together,
but the functions weren't merged, making the code uglier.

No functional changes are done in this patch.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tuner-core.c