diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-24 10:24:33 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-31 05:57:29 -0500 |
commit | 14d24d148c7521b2b88b396652e36f55d061e195 (patch) | |
tree | 268de8276d43e4912030792d42996d9652eaada0 /drivers/media/common/tuners/tda827x.c | |
parent | 249fa0b01c82f497efa15cb98081183e8938985f (diff) |
[media] tuners: remove dvb_frontend_parameters from set_params()
This is a big patch, yet trivial: now that all tuners use the DVBv5
way to pass parameters (e. g. via fe->dtv_property_cache), the
extra parameter can be removed from set_params() call.
After this change, very few DVBv3 specific stuff are left at the
tuners.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common/tuners/tda827x.c')
-rw-r--r-- | drivers/media/common/tuners/tda827x.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/media/common/tuners/tda827x.c b/drivers/media/common/tuners/tda827x.c index 7316308d9388..d96d0b9e1899 100644 --- a/drivers/media/common/tuners/tda827x.c +++ b/drivers/media/common/tuners/tda827x.c | |||
@@ -152,8 +152,7 @@ static int tuner_transfer(struct dvb_frontend *fe, | |||
152 | return rc; | 152 | return rc; |
153 | } | 153 | } |
154 | 154 | ||
155 | static int tda827xo_set_params(struct dvb_frontend *fe, | 155 | static int tda827xo_set_params(struct dvb_frontend *fe) |
156 | struct dvb_frontend_parameters *params) | ||
157 | { | 156 | { |
158 | struct dtv_frontend_properties *c = &fe->dtv_property_cache; | 157 | struct dtv_frontend_properties *c = &fe->dtv_property_cache; |
159 | struct tda827x_priv *priv = fe->tuner_priv; | 158 | struct tda827x_priv *priv = fe->tuner_priv; |
@@ -517,8 +516,7 @@ static void tda827xa_lna_gain(struct dvb_frontend *fe, int high, | |||
517 | } | 516 | } |
518 | } | 517 | } |
519 | 518 | ||
520 | static int tda827xa_set_params(struct dvb_frontend *fe, | 519 | static int tda827xa_set_params(struct dvb_frontend *fe) |
521 | struct dvb_frontend_parameters *params) | ||
522 | { | 520 | { |
523 | struct dtv_frontend_properties *c = &fe->dtv_property_cache; | 521 | struct dtv_frontend_properties *c = &fe->dtv_property_cache; |
524 | struct tda827x_priv *priv = fe->tuner_priv; | 522 | struct tda827x_priv *priv = fe->tuner_priv; |