summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/mxl111sf-tuner.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2011-12-24 16:24:33 +0100
committerMauro Carvalho Chehab2011-12-31 11:57:29 +0100
commit14d24d148c7521b2b88b396652e36f55d061e195 (patch)
tree268de8276d43e4912030792d42996d9652eaada0 /drivers/media/dvb/dvb-usb/mxl111sf-tuner.c
parent[media] dvb: remove dvb_frontend_parameters from calc_regs() (diff)
downloadkernel-qcow2-linux-14d24d148c7521b2b88b396652e36f55d061e195.tar.gz
kernel-qcow2-linux-14d24d148c7521b2b88b396652e36f55d061e195.tar.xz
kernel-qcow2-linux-14d24d148c7521b2b88b396652e36f55d061e195.zip
[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/dvb/dvb-usb/mxl111sf-tuner.c')
-rw-r--r--drivers/media/dvb/dvb-usb/mxl111sf-tuner.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/dvb/dvb-usb/mxl111sf-tuner.c b/drivers/media/dvb/dvb-usb/mxl111sf-tuner.c
index aeac7a9a80d6..3a533df2d8d3 100644
--- a/drivers/media/dvb/dvb-usb/mxl111sf-tuner.c
+++ b/drivers/media/dvb/dvb-usb/mxl111sf-tuner.c
@@ -272,8 +272,7 @@ static int mxl1x1sf_tuner_loop_thru_ctrl(struct mxl111sf_tuner_state *state,
/* ------------------------------------------------------------------------ */
-static int mxl111sf_tuner_set_params(struct dvb_frontend *fe,
- struct dvb_frontend_parameters *params)
+static int mxl111sf_tuner_set_params(struct dvb_frontend *fe)
{
struct dtv_frontend_properties *c = &fe->dtv_property_cache;
u32 delsys = c->delivery_system;