aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tda8290.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-04-22 13:41:53 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 12:42:26 -0400
commit2756665c28a7d2e25d92745195b5171866e12da9 (patch)
tree3624ed3ae3c118747684f86786fd138318fe903c /drivers/media/video/tda8290.c
parent3c2a0865d06df23f755a7d36a1076965500e1228 (diff)
V4L/DVB (7135): remove PREFIX from users of tuner_foo printk macros
Store a pointer to the device name in the name field of struct tuner_i2c_props, so that we can remove the printk macros defined in tuner-i2c.h Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tda8290.c')
-rw-r--r--drivers/media/video/tda8290.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/tda8290.c b/drivers/media/video/tda8290.c
index 55bc89a6f069..6f2449ab46a0 100644
--- a/drivers/media/video/tda8290.c
+++ b/drivers/media/video/tda8290.c
@@ -32,8 +32,6 @@ static int debug;
32module_param(debug, int, 0644); 32module_param(debug, int, 0644);
33MODULE_PARM_DESC(debug, "enable verbose debug messages"); 33MODULE_PARM_DESC(debug, "enable verbose debug messages");
34 34
35#define PREFIX "tda8290"
36
37/* ---------------------------------------------------------------------- */ 35/* ---------------------------------------------------------------------- */
38 36
39struct tda8290_priv { 37struct tda8290_priv {
@@ -674,6 +672,7 @@ struct dvb_frontend *tda829x_attach(struct dvb_frontend *fe,
674 672
675 priv->i2c_props.addr = i2c_addr; 673 priv->i2c_props.addr = i2c_addr;
676 priv->i2c_props.adap = i2c_adap; 674 priv->i2c_props.adap = i2c_adap;
675 priv->i2c_props.name = "tda829x";
677 if (cfg) { 676 if (cfg) {
678 priv->cfg.config = cfg->lna_cfg; 677 priv->cfg.config = cfg->lna_cfg;
679 priv->cfg.tuner_callback = cfg->tuner_callback; 678 priv->cfg.tuner_callback = cfg->tuner_callback;