summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/mt20xx.c
diff options
context:
space:
mode:
authorMichael Krufky2008-04-22 19:41:53 +0200
committerMauro Carvalho Chehab2008-04-24 18:42:26 +0200
commit2756665c28a7d2e25d92745195b5171866e12da9 (patch)
tree3624ed3ae3c118747684f86786fd138318fe903c /drivers/media/video/mt20xx.c
parentV4L/DVB (7134): tuner: create a macro for sharing state between hybrid tuner ... (diff)
downloadkernel-qcow2-linux-2756665c28a7d2e25d92745195b5171866e12da9.tar.gz
kernel-qcow2-linux-2756665c28a7d2e25d92745195b5171866e12da9.tar.xz
kernel-qcow2-linux-2756665c28a7d2e25d92745195b5171866e12da9.zip
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/mt20xx.c')
-rw-r--r--drivers/media/video/mt20xx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/mt20xx.c b/drivers/media/video/mt20xx.c
index 1fa89dbdff24..fbcb28233737 100644
--- a/drivers/media/video/mt20xx.c
+++ b/drivers/media/video/mt20xx.c
@@ -14,8 +14,6 @@ static int debug;
module_param(debug, int, 0644);
MODULE_PARM_DESC(debug, "enable verbose debug messages");
-#define PREFIX "mt20xx"
-
/* ---------------------------------------------------------------------- */
static unsigned int optimize_vco = 1;
@@ -611,6 +609,7 @@ struct dvb_frontend *microtune_attach(struct dvb_frontend *fe,
priv->i2c_props.addr = i2c_addr;
priv->i2c_props.adap = i2c_adap;
+ priv->i2c_props.name = "mt20xx";
//priv->radio_if2 = 10700 * 1000; /* 10.7MHz - FM radio */