From: Malcolm Priestley Date: Sat, 12 Jul 2014 06:53:48 +0000 (+0100) Subject: staging: vt6656: wcmd replace debug message with dev_dbg X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f7f048575727dca81f994590de3fbb62bceef4d9;p=linux-beck.git staging: vt6656: wcmd replace debug message with dev_dbg Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/wcmd.c b/drivers/staging/vt6656/wcmd.c index 9130f146e112..ade0f8117af7 100644 --- a/drivers/staging/vt6656/wcmd.c +++ b/drivers/staging/vt6656/wcmd.c @@ -49,9 +49,6 @@ #include "rf.h" #include "channel.h" -static int msglevel = MSG_LEVEL_INFO; -//static int msglevel = MSG_LEVEL_DEBUG; - static int s_bCommandComplete(struct vnt_private *); static void vCommandTimerWait(struct vnt_private *priv, unsigned long msecs) @@ -108,8 +105,8 @@ void vRunCommand(struct work_struct *work) break; case WLAN_CMD_CHANGE_ANTENNA_START: - DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO - "Change from Antenna%d to", (int)priv->dwRxAntennaSel); + dev_dbg(&priv->usb->dev, "Change from Antenna%d to", + priv->dwRxAntennaSel); if (priv->dwRxAntennaSel == 0) { priv->dwRxAntennaSel = 1;