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

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/rtl_dm.c
drivers/staging/rtl8192e/rtl8192e/rtl_dm.h

index 8a8a1fd06503ffd949754fb5d5f74ffa75bf3a6a..f72b0654c7d7bc99bfc9d67f537b1c2d3a443f11 100644 (file)
@@ -907,7 +907,7 @@ start:
                priv->Rf_Mode = RF_OP_By_SW_3wire;
 
        if (priv->ResetProgress == RESET_TYPE_NORESET) {
-               dm_initialize_txpower_tracking(dev);
+               rtl92e_dm_init_txpower_tracking(dev);
 
                if (priv->IC_Cut >= IC_VersionCut_D) {
                        tmpRegA = rtl92e_get_bb_reg(dev, rOFDM0_XATxIQImbalance,
index 28e0d1f5fdc2aded1d6c218197bc22ba95152594..c96ab6ee1a140771ae8c3e79d04e2c47d2b65c72 100644 (file)
@@ -985,7 +985,7 @@ static void dm_InitializeTXPowerTracking_ThermalMeter(struct net_device *dev)
                 priv->btxpower_tracking);
 }
 
-void dm_initialize_txpower_tracking(struct net_device *dev)
+void rtl92e_dm_init_txpower_tracking(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
 
index 132b6dd6a9421ddcac03e16f7cafcf029589725c..0b9f0852dce7ce9030d43a4025dbda978f23aa1a 100644 (file)
@@ -203,5 +203,5 @@ extern  void    dm_restore_dynamic_mechanism_state(struct net_device *dev);
 extern  void    rtl92e_dm_backup_state(struct net_device *dev);
 extern  void    rtl92e_dm_init_edca_turbo(struct net_device *dev);
 extern  void    dm_rf_pathcheck_workitemcallback(void *data);
-extern  void dm_initialize_txpower_tracking(struct net_device *dev);
+extern  void rtl92e_dm_init_txpower_tracking(struct net_device *dev);
 #endif /*__R8192UDM_H__ */