[media] dvb: don't use DVBv3 bandwidth macros
Every frontend now uses DVBv5 way. So, let's not use the DVBv3
macros internally anymore.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
diff --git a/drivers/media/common/tuners/tuner-simple.c b/drivers/media/common/tuners/tuner-simple.c
index ce91c43..39e7e58 100644
--- a/drivers/media/common/tuners/tuner-simple.c
+++ b/drivers/media/common/tuners/tuner-simple.c
@@ -1028,17 +1028,7 @@
static int simple_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth)
{
struct tuner_simple_priv *priv = fe->tuner_priv;
- switch (priv->bandwidth) {
- case 6000000:
- *bandwidth = BANDWIDTH_6_MHZ;
- break;
- case 7000000:
- *bandwidth = BANDWIDTH_7_MHZ;
- break;
- case 8000000:
- *bandwidth = BANDWIDTH_8_MHZ;
- break;
- }
+ *bandwidth = priv->bandwidth;
return 0;
}