diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-07-16 21:22:02 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-18 01:01:52 (GMT) |
commit | 4e62dcc900d3c470677b5e548af8e000fef8234f (patch) | |
tree | ada3fed216122e3402c20757ca8f0d16f26a4080 /drivers | |
parent | 3ce54934dfb23024a8e111450b6a224ee3546a2d (diff) | |
download | linux-4e62dcc900d3c470677b5e548af8e000fef8234f.tar.xz |
staging: vt6656: main_usb replace DBG_PRT debug messages
replace with dev_dbg
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/vt6656/main_usb.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index 12f93c7..021e892 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -230,25 +230,24 @@ static int device_init_registers(struct vnt_private *priv) u8 tmp; u8 calib_tx_iq = 0, calib_tx_dc = 0, calib_rx_iq = 0; - DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "---->INIbInitAdapter. [%d][%d]\n", + dev_dbg(&priv->usb->dev, "---->INIbInitAdapter. [%d][%d]\n", DEVICE_INIT_COLD, priv->byPacketType); if (!vnt_check_firmware_version(priv)) { if (vnt_download_firmware(priv) == true) { if (vnt_firmware_branch_to_sram(priv) == false) { - DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO + dev_dbg(&priv->usb->dev, " vnt_firmware_branch_to_sram fail\n"); return false; } } else { - DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO - " FIRMWAREbDownload fail\n"); + dev_dbg(&priv->usb->dev, "FIRMWAREbDownload fail\n"); return false; } } if (!vnt_vt3184_init(priv)) { - DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO" vnt_vt3184_init fail\n"); + dev_dbg(&priv->usb->dev, "vnt_vt3184_init fail\n"); return false; } @@ -264,14 +263,14 @@ static int device_init_registers(struct vnt_private *priv) MESSAGE_TYPE_CARDINIT, 0, 0, sizeof(struct vnt_cmd_card_init), (u8 *)init_cmd); if (status != STATUS_SUCCESS) { - DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO" Issue Card init fail\n"); + dev_dbg(&priv->usb->dev, "Issue Card init fail\n"); return false; } status = vnt_control_in(priv, MESSAGE_TYPE_INIT_RSP, 0, 0, sizeof(struct vnt_rsp_card_init), (u8 *)init_rsp); if (status != STATUS_SUCCESS) { - DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO + dev_dbg(&priv->usb->dev, "Cardinit request in status fail!\n"); return false; } @@ -429,7 +428,7 @@ static int device_init_registers(struct vnt_private *priv) priv->abyPermanentNetAddr, ETH_ALEN); /* if exist SW network address, use it */ - DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"Network address = %pM\n", + dev_dbg(&priv->usb->dev, "Network address = %pM\n", priv->abyCurrentNetAddr); /* @@ -478,7 +477,7 @@ static int device_init_registers(struct vnt_private *priv) vnt_radio_power_on(priv); } - DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"<----INIbInitAdapter Exit\n"); + dev_dbg(&priv->usb->dev, "<----INIbInitAdapter Exit\n"); return true; } |