diff options
author | Antti Palosaari <crope@iki.fi> | 2012-09-12 20:23:50 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-09-23 20:48:10 -0300 |
commit | f224749b68034619ff722576f46e4a4932d69d27 (patch) | |
tree | 28458595fa85d3f9ec0fab13665082d59f3d2fc3 /drivers/media/usb/dvb-usb-v2/af9015.h | |
parent | 3a2fca2684bd8730a270197d231d8d023d759d3f (diff) | |
download | lwn-f224749b68034619ff722576f46e4a4932d69d27.tar.gz lwn-f224749b68034619ff722576f46e4a4932d69d27.zip |
[media] af9015: use Kernel dev_foo() logging
... and some minor logging changes.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/af9015.h')
-rw-r--r-- | drivers/media/usb/dvb-usb-v2/af9015.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/af9015.h b/drivers/media/usb/dvb-usb-v2/af9015.h index 35f946c478f2..533637dedd23 100644 --- a/drivers/media/usb/dvb-usb-v2/af9015.h +++ b/drivers/media/usb/dvb-usb-v2/af9015.h @@ -36,27 +36,6 @@ #include "tda18218.h" #include "mxl5007t.h" -#define DVB_USB_LOG_PREFIX "af9015" - -#ifdef CONFIG_DVB_USB_DEBUG -#define dprintk(var, level, args...) \ - do { if ((var & level)) printk(args); } while (0) -#define DVB_USB_DEBUG_STATUS -#else -#define dprintk(args...) -#define DVB_USB_DEBUG_STATUS " (debugging is not enabled)" -#endif - -#define deb_info(args...) dprintk(dvb_usb_af9015_debug, 0x01, args) -#define deb_rc(args...) dprintk(dvb_usb_af9015_debug, 0x02, args) - -#undef err -#define err(format, arg...) \ - printk(KERN_ERR DVB_USB_LOG_PREFIX ": " format "\n" , ## arg) -#undef warn -#define warn(format, arg...) \ - printk(KERN_WARNING DVB_USB_LOG_PREFIX ": " format "\n" , ## arg) - #define AF9015_FIRMWARE "dvb-usb-af9015.fw" /* Windows driver uses packet count 21 for USB1.1 and 348 for USB2.0. |