]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
[media] mt2060: remove fake implementaion of get_bandwidth()
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 20 Dec 2011 20:09:15 +0000 (17:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 31 Dec 2011 10:26:40 +0000 (08:26 -0200)
commit2676c258eb836caed508099e58030398217a5ef0
tree8e9e3c19a326273f0e2a759844ee0006ed67f6f6
parent8b80ff3ad52690d37e9617335ce9d66e6d4a92e5
[media] mt2060: remove fake implementaion of get_bandwidth()

This driver implements a fake get_bandwidth() callback. In
reallity, the tuner driver won't adjust its low-pass
filter based on a bandwidth, and were just providing a fake
method for demods to read whatever was "set".

This code is useless, as none of the drivers that use
this tuner seems to require a get_bandwidth() callback.

While here, convert set_params to use the DVBv5 way to pass
parameters to tuners.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/mt2060.c
drivers/media/common/tuners/mt2060_priv.h