staging: rtl8192e: Rename CPUcheck_firmware_ready
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:13:15 +0000 (10:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:33:43 +0000 (03:33 +0200)
Use naming schema found in other rtlwifi devices.
Rename CPUcheck_firmware_ready to _rtl92e_is_fw_ready.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c

index 3c1b86cce8d680eebca5fac7bb280256c4a0c48a..12a791ddfb8be44bd26286363e87ad5d4471204a 100644 (file)
@@ -149,7 +149,7 @@ CPUCheckMainCodeOKAndTurnOnCPU_Fail:
        return rt_status;
 }
 
-static bool CPUcheck_firmware_ready(struct net_device *dev)
+static bool _rtl92e_is_fw_ready(struct net_device *dev)
 {
 
        bool    rt_status = true;
@@ -205,12 +205,12 @@ static bool firmware_check_ready(struct net_device *dev,
                pfirmware->firmware_status = FW_STATUS_4_MOVE_DATA_CODE;
                mdelay(1);
 
-               rt_status = CPUcheck_firmware_ready(dev);
+               rt_status = _rtl92e_is_fw_ready(dev);
                if (rt_status)
                        pfirmware->firmware_status = FW_STATUS_5_READY;
                else
                        RT_TRACE(COMP_FIRMWARE,
-                                "CPUcheck_firmware_ready fail(%d)!\n",
+                                "_rtl92e_is_fw_ready fail(%d)!\n",
                                 rt_status);
 
                break;