diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-04-22 14:41:53 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:42:26 -0300 |
commit | 2756665c28a7d2e25d92745195b5171866e12da9 (patch) | |
tree | 3624ed3ae3c118747684f86786fd138318fe903c /drivers/media/video/tda8290.c | |
parent | 3c2a0865d06df23f755a7d36a1076965500e1228 (diff) | |
download | op-kernel-dev-2756665c28a7d2e25d92745195b5171866e12da9.zip op-kernel-dev-2756665c28a7d2e25d92745195b5171866e12da9.tar.gz |
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.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/tda8290.c b/drivers/media/video/tda8290.c index 55bc89a..6f2449a 100644 --- a/drivers/media/video/tda8290.c +++ b/drivers/media/video/tda8290.c @@ -32,8 +32,6 @@ static int debug; module_param(debug, int, 0644); MODULE_PARM_DESC(debug, "enable verbose debug messages"); -#define PREFIX "tda8290" - /* ---------------------------------------------------------------------- */ struct tda8290_priv { @@ -674,6 +672,7 @@ struct dvb_frontend *tda829x_attach(struct dvb_frontend *fe, priv->i2c_props.addr = i2c_addr; priv->i2c_props.adap = i2c_adap; + priv->i2c_props.name = "tda829x"; if (cfg) { priv->cfg.config = cfg->lna_cfg; priv->cfg.tuner_callback = cfg->tuner_callback; |