]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8192e: Rename rtl8192_phy_getTxPower
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:27:50 +0000 (19:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:24:18 +0000 (21:24 -0700)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_getTxPower to rtl92e_get_tx_power.

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

index bdb37c7a468560b5f81a729ead8da63dada4a9a4..6479d619ae2adfa4316ff7add0de8328d5f427ff 100644 (file)
@@ -831,7 +831,7 @@ start:
        rtl92e_config_mac(dev);
 
        if (priv->card_8192_version > (u8) VERSION_8190_BD) {
-               rtl8192_phy_getTxPower(dev);
+               rtl92e_get_tx_power(dev);
                rtl8192_phy_setTxPower(dev, priv->chan);
        }
 
index cc39cb5cbfc7eecce0095edd7810b9ce8b90a1bd..8800c82e7ceb0b6747a2717741016ca5af575e84 100644 (file)
@@ -604,7 +604,7 @@ bool rtl92e_config_bb(struct net_device *dev)
        return rtl8192_BB_Config_ParaFile(dev);
 }
 
-void rtl8192_phy_getTxPower(struct net_device *dev)
+void rtl92e_get_tx_power(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
 
index 94218038a316542b93ba303a88c8613157fc80f0..67a7be9c8d30c288b270ceb612c47f46a28fc843 100644 (file)
@@ -83,7 +83,7 @@ extern bool rtl92e_check_bb_and_rf(struct net_device *dev,
                                   enum hw90_block CheckBlock,
                                   enum rf90_radio_path eRFPath);
 extern bool rtl92e_config_bb(struct net_device *dev);
-extern void rtl8192_phy_getTxPower(struct net_device *dev);
+extern void rtl92e_get_tx_power(struct net_device *dev);
 extern void rtl8192_phy_setTxPower(struct net_device *dev, u8 channel);
 extern bool rtl8192_phy_RFConfig(struct net_device *dev);
 extern void rtl8192_phy_updateInitGain(struct net_device *dev);