[media] rtl2830: use Kernel dev_foo() logging

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Antti Palosaari
2012-09-12 20:23:47 -03:00
committed by Mauro Carvalho Chehab
parent a44850df5a
commit 86ad0f1dd7
3 changed files with 25 additions and 36 deletions

View File

@@ -25,19 +25,6 @@
#include "dvb_math.h"
#include "rtl2830.h"
#define LOG_PREFIX "rtl2830"
#undef dbg
#define dbg(f, arg...) \
if (rtl2830_debug) \
printk(KERN_INFO LOG_PREFIX": " f "\n" , ## arg)
#undef err
#define err(f, arg...) printk(KERN_ERR LOG_PREFIX": " f "\n" , ## arg)
#undef info
#define info(f, arg...) printk(KERN_INFO LOG_PREFIX": " f "\n" , ## arg)
#undef warn
#define warn(f, arg...) printk(KERN_WARNING LOG_PREFIX": " f "\n" , ## arg)
struct rtl2830_priv {
struct i2c_adapter *i2c;
struct dvb_frontend fe;