V4L/DVB (3869): Convert cx24123 to refactored tuner code
authorAndrew de Quincey <adq_dvb@lidskialf.net>
Tue, 18 Apr 2006 20:47:11 +0000 (17:47 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 25 Jun 2006 04:58:55 +0000 (01:58 -0300)
Convert to tuner_ops calls.
Remove pll function pointers from structure.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/frontends/cx24123.c
drivers/media/dvb/frontends/cx24123.h

index 691dc840dcc06ee15ad125aec428c6093413ad66..aa3fd8e6cef7a56452c706ff34ef50530b66a520 100644 (file)
@@ -687,9 +687,6 @@ static int cx24123_initfe(struct dvb_frontend* fe)
        for (i = 0; i < sizeof(cx24123_regdata) / sizeof(cx24123_regdata[0]); i++)
                cx24123_writereg(state, cx24123_regdata[i].reg, cx24123_regdata[i].data);
 
-       if (state->config->pll_init)
-               state->config->pll_init(fe);
-
        /* Configure the LNB for 14V */
        if (state->config->use_isl6421)
                cx24123_writelnbreg(state, 0x0, 0x2a);
index 0c922b5e9263e3579bf0a1a0a38b53d87366a35c..7ec4ee856014a4c753ed922515c29f4f03e95d16 100644 (file)
@@ -35,10 +35,6 @@ struct cx24123_config
        */
        int use_isl6421;
 
-       /* PLL maintenance */
-       int (*pll_init)(struct dvb_frontend* fe);
-       int (*pll_set)(struct dvb_frontend* fe, struct dvb_frontend_parameters* params);
-
        /* Need to set device param for start_dma */
        int (*set_ts_params)(struct dvb_frontend* fe, int is_punctured);