summaryrefslogtreecommitdiff
path: root/drivers/media/common/tuners/mt2131_priv.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-12-21 04:26:01 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-12-31 14:26:44 +0400
commit01ce5a7915932c199c8196347d0469ab2cc0573f (patch)
treeff0af3ebd2bdfac268dbe95b4e1526b96ff8137d /drivers/media/common/tuners/mt2131_priv.h
parent2676c258eb836caed508099e58030398217a5ef0 (diff)
downloadlinux-01ce5a7915932c199c8196347d0469ab2cc0573f.tar.xz
[media] mt2031: 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>
Diffstat (limited to 'drivers/media/common/tuners/mt2131_priv.h')
-rw-r--r--drivers/media/common/tuners/mt2131_priv.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/common/tuners/mt2131_priv.h b/drivers/media/common/tuners/mt2131_priv.h
index 4e05a67e88c1..62aeedf5c550 100644
--- a/drivers/media/common/tuners/mt2131_priv.h
+++ b/drivers/media/common/tuners/mt2131_priv.h
@@ -38,7 +38,6 @@ struct mt2131_priv {
struct i2c_adapter *i2c;
u32 frequency;
- u32 bandwidth;
};
#endif /* __MT2131_PRIV_H__ */