aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-simple.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/tuner-simple.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/tuner-simple.c')
-rw-r--r--drivers/media/video/tuner-simple.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/tuner-simple.c b/drivers/media/video/tuner-simple.c
index 10addf2ba5ce..dc2467159ece 100644
--- a/drivers/media/video/tuner-simple.c
+++ b/drivers/media/video/tuner-simple.c
@@ -17,8 +17,6 @@ static int debug;
17module_param(debug, int, 0644); 17module_param(debug, int, 0644);
18MODULE_PARM_DESC(debug, "enable verbose debug messages"); 18MODULE_PARM_DESC(debug, "enable verbose debug messages");
19 19
20#define PREFIX "tuner-simple"
21
22static int offset; 20static int offset;
23module_param(offset, int, 0664); 21module_param(offset, int, 0664);
24MODULE_PARM_DESC(offset, "Allows to specify an offset for tuner"); 22MODULE_PARM_DESC(offset, "Allows to specify an offset for tuner");
@@ -738,6 +736,8 @@ struct dvb_frontend *simple_tuner_attach(struct dvb_frontend *fe,
738 736
739 priv->i2c_props.addr = i2c_addr; 737 priv->i2c_props.addr = i2c_addr;
740 priv->i2c_props.adap = i2c_adap; 738 priv->i2c_props.adap = i2c_adap;
739 priv->i2c_props.name = "tuner-simple";
740
741 priv->type = type; 741 priv->type = type;
742 priv->tun = &tuners[type]; 742 priv->tun = &tuners[type];
743 743