summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-12-16 17:14:31 -0500
committerMichael Krufky <mkrufky@linuxtv.org>2007-12-16 17:14:31 -0500
commit0dd5f9acbc4f69e168833c43267d3c3ca74d7a25 (patch)
tree7052721aba8aead9f5dcf825bb7348399132d3be /linux
parentf4b0dc814babaa02303f9cfbc6f8364d0a40b14d (diff)
downloadmediapointer-dvb-s2-0dd5f9acbc4f69e168833c43267d3c3ca74d7a25.tar.gz
mediapointer-dvb-s2-0dd5f9acbc4f69e168833c43267d3c3ca74d7a25.tar.bz2
tda9887: remove references to struct tuner from printk macros
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/tda9887.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/linux/drivers/media/video/tda9887.c b/linux/drivers/media/video/tda9887.c
index bd4173e41..f262055c9 100644
--- a/linux/drivers/media/video/tda9887.c
+++ b/linux/drivers/media/video/tda9887.c
@@ -29,14 +29,14 @@ static int tda9887_debug;
module_param_named(debug, tda9887_debug, int, 0644);
#define tda9887_info(fmt, arg...) do {\
- printk(KERN_INFO "%s %d-%04x: " fmt, priv->t->i2c->name, \
- i2c_adapter_id(priv->t->i2c->adapter), \
- priv->t->i2c->addr, ##arg); } while (0)
+ printk(KERN_INFO "tda9887 %d-%04x: " fmt, \
+ i2c_adapter_id(priv->i2c_props.adap), \
+ priv->i2c_props.addr, ##arg); } while (0)
#define tda9887_dbg(fmt, arg...) do {\
if (tda9887_debug) \
- printk(KERN_INFO "%s %d-%04x: " fmt, priv->t->i2c->name, \
- i2c_adapter_id(priv->t->i2c->adapter), \
- priv->t->i2c->addr, ##arg); } while (0)
+ printk(KERN_INFO "tda9887 %d-%04x: " fmt, \
+ i2c_adapter_id(priv->i2c_props.adap), \
+ priv->i2c_props.addr, ##arg); } while (0)
struct tda9887_priv {
struct tuner_i2c_props i2c_props;