staging: rtl8192e: Rename CCK_Tx_Power_Track_BW_Switch
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:14:01 +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 to
_rtl92e_cck_tx_power_track_bw_switch.

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 e2f833d999b180025a2debaeb2d547ae0dec645a..2756ee399cc3dfb60e5da7fb2a5b9b873290b9a1 100644 (file)
@@ -1156,7 +1156,7 @@ static void CCK_Tx_Power_Track_BW_Switch_ThermalMeter(struct net_device *dev)
        rtl92e_dm_cck_txpower_adjust(dev, priv->bcck_in_ch14);
 }
 
-static void CCK_Tx_Power_Track_BW_Switch(struct net_device *dev)
+static void _rtl92e_cck_tx_power_track_bw_switch(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
 
@@ -1215,7 +1215,7 @@ static void rtl8192_SetBWModeWorkItem(struct net_device *dev)
                        rtl92e_writel(dev, rCCK0_TxFilter2, 0x090e1317);
                        rtl92e_writel(dev, rCCK0_DebugPort, 0x00000204);
                } else {
-                       CCK_Tx_Power_Track_BW_Switch(dev);
+                       _rtl92e_cck_tx_power_track_bw_switch(dev);
                }
 
                rtl92e_set_bb_reg(dev, rFPGA0_AnalogParameter1, 0x00100000, 1);
@@ -1230,7 +1230,7 @@ static void rtl8192_SetBWModeWorkItem(struct net_device *dev)
                        rtl92e_writel(dev, rCCK0_TxFilter2, 0x121c252e);
                        rtl92e_writel(dev, rCCK0_DebugPort, 0x00000409);
                } else {
-                       CCK_Tx_Power_Track_BW_Switch(dev);
+                       _rtl92e_cck_tx_power_track_bw_switch(dev);
                }
 
                rtl92e_set_bb_reg(dev, rCCK0_System, bCCKSideBand,