Commit 91d7b8cf authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman

staging: rtl8192e: fw: Use netdev_dbg instead of RT_TRACE

Drop legacy logging system.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 15d14066
...@@ -40,7 +40,7 @@ static bool _rtl92e_fw_boot_cpu(struct net_device *dev) ...@@ -40,7 +40,7 @@ static bool _rtl92e_fw_boot_cpu(struct net_device *dev)
netdev_err(dev, "Firmware download failed.\n"); netdev_err(dev, "Firmware download failed.\n");
goto CPUCheckMainCodeOKAndTurnOnCPU_Fail; goto CPUCheckMainCodeOKAndTurnOnCPU_Fail;
} }
RT_TRACE(COMP_FIRMWARE, "Download Firmware: Put code ok!\n"); netdev_dbg(dev, "Download Firmware: Put code ok!\n");
CPU_status = rtl92e_readl(dev, CPU_GEN); CPU_status = rtl92e_readl(dev, CPU_GEN);
rtl92e_writeb(dev, CPU_GEN, rtl92e_writeb(dev, CPU_GEN,
...@@ -52,7 +52,7 @@ static bool _rtl92e_fw_boot_cpu(struct net_device *dev) ...@@ -52,7 +52,7 @@ static bool _rtl92e_fw_boot_cpu(struct net_device *dev)
goto CPUCheckMainCodeOKAndTurnOnCPU_Fail; goto CPUCheckMainCodeOKAndTurnOnCPU_Fail;
} }
RT_TRACE(COMP_FIRMWARE, "Download Firmware: Boot ready!\n"); netdev_dbg(dev, "Download Firmware: Boot ready!\n");
return true; return true;
...@@ -79,7 +79,7 @@ static bool _rtl92e_fw_check_ready(struct net_device *dev, ...@@ -79,7 +79,7 @@ static bool _rtl92e_fw_check_ready(struct net_device *dev,
if (rt_status) if (rt_status)
pfirmware->status = FW_STATUS_3_TURNON_CPU; pfirmware->status = FW_STATUS_3_TURNON_CPU;
else else
RT_TRACE(COMP_FIRMWARE, "_rtl92e_fw_boot_cpu fail!\n"); netdev_dbg(dev, "_rtl92e_fw_boot_cpu fail!\n");
break; break;
...@@ -97,7 +97,7 @@ static bool _rtl92e_fw_check_ready(struct net_device *dev, ...@@ -97,7 +97,7 @@ static bool _rtl92e_fw_check_ready(struct net_device *dev,
break; break;
default: default:
rt_status = false; rt_status = false;
RT_TRACE(COMP_FIRMWARE, "Unknown firmware status"); netdev_dbg(dev, "Unknown firmware status");
break; break;
} }
...@@ -153,7 +153,7 @@ bool rtl92e_init_fw(struct net_device *dev) ...@@ -153,7 +153,7 @@ bool rtl92e_init_fw(struct net_device *dev)
struct rt_firmware *pfirmware = priv->pFirmware; struct rt_firmware *pfirmware = priv->pFirmware;
RT_TRACE(COMP_FIRMWARE, " PlatformInitFirmware()==>\n"); netdev_dbg(dev, " PlatformInitFirmware()==>\n");
if (pfirmware->status == FW_STATUS_0_INIT) { if (pfirmware->status == FW_STATUS_0_INIT) {
rst_opt = OPT_SYSTEM_RESET; rst_opt = OPT_SYSTEM_RESET;
...@@ -200,7 +200,7 @@ bool rtl92e_init_fw(struct net_device *dev) ...@@ -200,7 +200,7 @@ bool rtl92e_init_fw(struct net_device *dev)
goto download_firmware_fail; goto download_firmware_fail;
} }
RT_TRACE(COMP_FIRMWARE, "Firmware Download Success\n"); netdev_dbg(dev, "Firmware Download Success\n");
return rt_status; return rt_status;
download_firmware_fail: download_firmware_fail:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment