staging: rtl8192e: Rename PHY_SetRF8256OFDMTxPower
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:27:17 +0000 (19:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:24:09 +0000 (21:24 -0700)
Use naming schema found in other rtlwifi devices.
Rename PHY_SetRF8256OFDMTxPower to rtl92e_set_ofdm_tx_power.

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

index daa0619cd7dc4352b89f1bbbb2fc358f720539f4..b3b72e59d366d3ca6d2d1d22b84fe2fb9380e88b 100644 (file)
@@ -258,7 +258,7 @@ void rtl92e_set_cck_tx_power(struct net_device *dev, u8 powerlevel)
 }
 
 
-void PHY_SetRF8256OFDMTxPower(struct net_device *dev, u8 powerlevel)
+void rtl92e_set_ofdm_tx_power(struct net_device *dev, u8 powerlevel)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        u32 writeVal, powerBase0, powerBase1, writeVal_tmp;
index 1f39799683d94c60f1e43c5d37b205dcd788b35e..5af837f969b89b534798d10990a1c8a30e2846f8 100644 (file)
@@ -25,6 +25,6 @@ extern void rtl92e_set_bandwidth(struct net_device *dev,
                                 enum ht_channel_width Bandwidth);
 extern bool rtl92e_config_rf(struct net_device *dev);
 extern void rtl92e_set_cck_tx_power(struct net_device *dev, u8 powerlevel);
-extern void PHY_SetRF8256OFDMTxPower(struct net_device *dev, u8 powerlevel);
+extern void rtl92e_set_ofdm_tx_power(struct net_device *dev, u8 powerlevel);
 
 #endif
index f05a88402855cace4d851c496476f0e0a4f84608..5d493c6b56ea94fd3b363aaeaf4797660e00326c 100644 (file)
@@ -680,7 +680,7 @@ void rtl8192_phy_setTxPower(struct net_device *dev, u8 channel)
                break;
        case RF_8256:
                rtl92e_set_cck_tx_power(dev, powerlevel);
-               PHY_SetRF8256OFDMTxPower(dev, powerlevelOFDM24G);
+               rtl92e_set_ofdm_tx_power(dev, powerlevelOFDM24G);
                break;
        case RF_8258:
                break;
@@ -795,7 +795,7 @@ static void rtl8192_SetTxPowerLevel(struct net_device *dev, u8 channel)
 
        case RF_8256:
                rtl92e_set_cck_tx_power(dev, powerlevel);
-               PHY_SetRF8256OFDMTxPower(dev, powerlevelOFDM24G);
+               rtl92e_set_ofdm_tx_power(dev, powerlevelOFDM24G);
                break;
 
        case RF_8258: