From: Malcolm Priestley Date: Fri, 11 Jul 2014 00:08:31 +0000 (+0100) Subject: staging: vt6656: rxtx replace debug messages DBG_PRT X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=604631ff0b2b9e36d9ad1ebe389687f5ed7b7b90;p=linux-beck.git staging: vt6656: rxtx replace debug messages DBG_PRT Replace with dev_dbg Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c index 35edf413f3c9..3dc6d071f012 100644 --- a/drivers/staging/vt6656/rxtx.c +++ b/drivers/staging/vt6656/rxtx.c @@ -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; }