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

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

index 2756ee399cc3dfb60e5da7fb2a5b9b873290b9a1..44586137811c75472318119165369ac8ca776bc9 100644 (file)
@@ -1125,7 +1125,7 @@ static void CCK_Tx_Power_Track_BW_Switch_TSSI(struct net_device *dev)
        }
 }
 
-static void CCK_Tx_Power_Track_BW_Switch_ThermalMeter(struct net_device *dev)
+static void _rtl92e_cck_tx_power_track_bw_switch_thermal(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
 
@@ -1142,14 +1142,14 @@ static void CCK_Tx_Power_Track_BW_Switch_ThermalMeter(struct net_device *dev)
                        priv->Record_CCK_20Mindex = 6;
                priv->CCK_index = priv->Record_CCK_20Mindex;
                RT_TRACE(COMP_POWER_TRACKING,
-                        "20MHz, CCK_Tx_Power_Track_BW_Switch_ThermalMeter(),CCK_index = %d\n",
+                        "20MHz, _rtl92e_cck_tx_power_track_bw_switch_thermal(),CCK_index = %d\n",
                         priv->CCK_index);
        break;
 
        case HT_CHANNEL_WIDTH_20_40:
                priv->CCK_index = priv->Record_CCK_40Mindex;
                RT_TRACE(COMP_POWER_TRACKING,
-                        "40MHz, CCK_Tx_Power_Track_BW_Switch_ThermalMeter(), CCK_index = %d\n",
+                        "40MHz, _rtl92e_cck_tx_power_track_bw_switch_thermal(), CCK_index = %d\n",
                         priv->CCK_index);
        break;
        }
@@ -1163,7 +1163,7 @@ static void _rtl92e_cck_tx_power_track_bw_switch(struct net_device *dev)
        if (priv->IC_Cut >= IC_VersionCut_D)
                CCK_Tx_Power_Track_BW_Switch_TSSI(dev);
        else
-               CCK_Tx_Power_Track_BW_Switch_ThermalMeter(dev);
+               _rtl92e_cck_tx_power_track_bw_switch_thermal(dev);
 }
 
 static void rtl8192_SetBWModeWorkItem(struct net_device *dev)