From: Malcolm Priestley Date: Tue, 15 Jul 2014 18:54:33 +0000 (+0100) Subject: staging: vt6656: int.c Replace DBG_PRT debug messages X-Git-Tag: v3.17-rc1~123^2~741 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=50730604c9aef89025bf2bed57e9afb15d8b1148;p=karo-tx-linux.git staging: vt6656: int.c Replace DBG_PRT debug messages Replace with dev_dbg Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/int.c b/drivers/staging/vt6656/int.c index 54016f93e31b..ddf58f7fce9f 100644 --- a/drivers/staging/vt6656/int.c +++ b/drivers/staging/vt6656/int.c @@ -37,8 +37,6 @@ #include "power.h" #include "usbpipe.h" -static int msglevel = MSG_LEVEL_INFO; /* MSG_LEVEL_DEBUG */ - static const u8 fallback_rate0[5][5] = { {RATE_18M, RATE_18M, RATE_12M, RATE_12M, RATE_12M}, {RATE_24M, RATE_24M, RATE_18M, RATE_12M, RATE_12M}, @@ -82,7 +80,7 @@ void INTvWorkItem(struct vnt_private *priv) unsigned long flags; int status; - DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"---->Interrupt Polling Thread\n"); + dev_dbg(&priv->usb->dev, "---->Interrupt Polling Thread\n"); spin_lock_irqsave(&priv->lock, flags); @@ -152,7 +150,7 @@ void INTnsProcessData(struct vnt_private *priv) struct vnt_interrupt_data *int_data; struct ieee80211_low_level_stats *low_stats = &priv->low_stats; - DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"---->s_nsInterruptProcessData\n"); + dev_dbg(&priv->usb->dev, "---->s_nsInterruptProcessData\n"); int_data = (struct vnt_interrupt_data *)priv->int_buf.data_buf;