[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)
commita34ec5f3743950cadb8f512c884b8c9dbaa9a7a5
treef51bffb376a6b946aaee565593cdd49df123645b
parent900f734b3bafb4e111b9ec5d865c448a9911b2ab
[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