diff options
author | Antti Palosaari <crope@iki.fi> | 2012-12-09 11:42:25 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-01-06 06:08:23 -0500 |
commit | 4562620159c6c0c3c11913d518138a27e6ecd957 (patch) | |
tree | 38e4142f74995ca7ebe326e5e3600bc7c28bb6f1 /drivers/media/tuners/fc0012-priv.h | |
parent | 44ff69cd95308c115134f0546317b584fe1bf5b2 (diff) |
[media] fc0012: use Kernel dev_foo() logging
Signed-off-by: Antti Palosaari <crope@iki.fi>
Acked-by: Hans-Frieder Vogt <hfvogt@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/tuners/fc0012-priv.h')
-rw-r--r-- | drivers/media/tuners/fc0012-priv.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/media/tuners/fc0012-priv.h b/drivers/media/tuners/fc0012-priv.h index 3b98bf971fb3..1a86ce1d3fcf 100644 --- a/drivers/media/tuners/fc0012-priv.h +++ b/drivers/media/tuners/fc0012-priv.h | |||
@@ -21,15 +21,6 @@ | |||
21 | #ifndef _FC0012_PRIV_H_ | 21 | #ifndef _FC0012_PRIV_H_ |
22 | #define _FC0012_PRIV_H_ | 22 | #define _FC0012_PRIV_H_ |
23 | 23 | ||
24 | #define LOG_PREFIX "fc0012" | ||
25 | |||
26 | #undef err | ||
27 | #define err(f, arg...) printk(KERN_ERR LOG_PREFIX": " f "\n" , ## arg) | ||
28 | #undef info | ||
29 | #define info(f, arg...) printk(KERN_INFO LOG_PREFIX": " f "\n" , ## arg) | ||
30 | #undef warn | ||
31 | #define warn(f, arg...) printk(KERN_WARNING LOG_PREFIX": " f "\n" , ## arg) | ||
32 | |||
33 | struct fc0012_priv { | 24 | struct fc0012_priv { |
34 | struct i2c_adapter *i2c; | 25 | struct i2c_adapter *i2c; |
35 | const struct fc0012_config *cfg; | 26 | const struct fc0012_config *cfg; |