staging: vt6656: rxtx replace debug messages DBG_PRT
authorMalcolm Priestley <tvboxspy@gmail.com>
Fri, 11 Jul 2014 00:08:31 +0000 (01:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jul 2014 00:34:27 +0000 (17:34 -0700)
Replace with dev_dbg

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/rxtx.c

index 35edf413f3c9863d7812418a67512886e4503688..3dc6d071f012f02365f925f3db11a51022959a53 100644 (file)
@@ -43,8 +43,6 @@
 #include "rf.h"
 #include "usbpipe.h"
 
-static int          msglevel                = MSG_LEVEL_INFO;
-
 static const u16 vnt_time_stampoff[2][MAX_RATE] = {
        {384, 288, 226, 209, 54, 43, 37, 31, 28, 25, 24, 23},/* Long Preamble */
        {384, 192, 130, 113, 54, 43, 37, 31, 28, 25, 24, 23},/* Short Preamble */
@@ -81,7 +79,7 @@ static struct vnt_usb_send_context
        struct vnt_usb_send_context *context = NULL;
        int ii;
 
-       DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"GetFreeContext()\n");
+       dev_dbg(&priv->usb->dev, "%s\n", __func__);
 
        for (ii = 0; ii < priv->cbTD; ii++) {
                if (!priv->apTD[ii])
@@ -100,7 +98,7 @@ static struct vnt_usb_send_context
        }
 
        if (ii == priv->cbTD)
-               DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"No Free Tx Context\n");
+               dev_dbg(&priv->usb->dev, "%s No Free Tx Context\n", __func__);
 
        return NULL;
 }