Skip to content

Commit

Permalink
V4L/DVB (7055): make tuner names consistent with standard cases
Browse files Browse the repository at this point in the history
Change TDA9887 to tda9887.

TDA8290 shall reflect the actual hardware present in its name,
  ie:

tda8295+18271
tda8290+8275a

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Jan 25, 2008
1 parent 8cb9329 commit 0f2ce98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions drivers/media/video/tda8290.c
Original file line number Diff line number Diff line change
Expand Up @@ -645,9 +645,6 @@ static int tda8295_probe(struct tuner_i2c_props *i2c_props)
}

static struct analog_demod_ops tda8290_ops = {
.info = {
.name = "TDA8290",
},
.set_params = tda8290_set_params,
.has_signal = tda8290_has_signal,
.standby = tda8290_standby,
Expand All @@ -656,9 +653,6 @@ static struct analog_demod_ops tda8290_ops = {
};

static struct analog_demod_ops tda8295_ops = {
.info = {
.name = "TDA8295",
},
.set_params = tda8295_set_params,
.has_signal = tda8295_has_signal,
.standby = tda8295_standby,
Expand Down Expand Up @@ -731,6 +725,8 @@ struct dvb_frontend *tda829x_attach(struct dvb_frontend *fe,
}
tuner_info("type set to %s\n", name);

fe->ops.analog_ops.info.name = name;

if (priv->ver & TDA8290) {
tda8290_init_tuner(fe);
tda8290_init_if(fe);
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/video/tda9887.c
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ static void tda9887_release(struct dvb_frontend *fe)

static struct analog_demod_ops tda9887_ops = {
.info = {
.name = "TDA9887",
.name = "tda9887",
},
.set_params = tda9887_set_params,
.standby = tda9887_standby,
Expand Down

0 comments on commit 0f2ce98

Please sign in to comment.