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

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 12a791ddfb8be44bd26286363e87ad5d4471204a..4881f89f6e47806f78f1b815a9e89c0644be61dc 100644 (file)
@@ -101,7 +101,7 @@ static bool fw_download_code(struct net_device *dev, u8 *code_virtual_address,
        return true;
 }
 
-static bool CPUcheck_maincodeok_turnonCPU(struct net_device *dev)
+static bool _rtl92e_fw_boot_cpu(struct net_device *dev)
 {
        bool            rt_status = true;
        u32             CPU_status = 0;
@@ -192,12 +192,11 @@ static bool firmware_check_ready(struct net_device *dev,
        case FW_INIT_STEP1_MAIN:
                pfirmware->firmware_status = FW_STATUS_2_MOVE_MAIN_CODE;
 
-               rt_status = CPUcheck_maincodeok_turnonCPU(dev);
+               rt_status = _rtl92e_fw_boot_cpu(dev);
                if (rt_status)
                        pfirmware->firmware_status = FW_STATUS_3_TURNON_CPU;
                else
-                       RT_TRACE(COMP_FIRMWARE,
-                                "CPUcheck_maincodeok_turnonCPU fail!\n");
+                       RT_TRACE(COMP_FIRMWARE, "_rtl92e_fw_boot_cpu fail!\n");
 
                break;