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

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 b8b20884497d18ff9f72f9e937d4e9fc4e1a8c35..0dae2c8c374f12d22697c8e0b8ffda26a2ab1c6e 100644 (file)
@@ -355,7 +355,7 @@ void rtl92e_config_mac(struct net_device *dev)
 
 }
 
-static void rtl8192_phyConfigBB(struct net_device *dev, u8 ConfigType)
+static void _rtl92e_phy_config_bb(struct net_device *dev, u8 ConfigType)
 {
        int i;
        u32 *Rtl819XPHY_REGArray_Table = NULL;
@@ -571,12 +571,12 @@ static bool rtl8192_BB_Config_ParaFile(struct net_device *dev)
                }
        }
        rtl92e_set_bb_reg(dev, rFPGA0_RFMOD, bCCKEn|bOFDMEn, 0x0);
-       rtl8192_phyConfigBB(dev, BaseBand_Config_PHY_REG);
+       _rtl92e_phy_config_bb(dev, BaseBand_Config_PHY_REG);
 
        dwRegValue = rtl92e_readl(dev, CPU_GEN);
        rtl92e_writel(dev, CPU_GEN, (dwRegValue|CPU_GEN_BB_RST));
 
-       rtl8192_phyConfigBB(dev, BaseBand_Config_AGC_TAB);
+       _rtl92e_phy_config_bb(dev, BaseBand_Config_AGC_TAB);
 
        if (priv->IC_Cut  > VERSION_8190_BD) {
                if (priv->rf_type == RF_2T4R)