Skip to content

Commit

Permalink
V4L/DVB (6838): tda9887: remove references to struct tuner from print…
Browse files Browse the repository at this point in the history
…k macros

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Jan 25, 2008
1 parent 35e4203 commit daae589
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions drivers/media/video/tda9887.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,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;
Expand Down

0 comments on commit daae589

Please sign in to comment.