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

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

index 8091f79337dadd04a2f5eb50dca2ad914ea38c44..04fe6dcbf2de10d361ab2de4881aec037ca6598d 100644 (file)
@@ -1321,7 +1321,7 @@ RESET_START:
                        rtllib_softmac_stop_protocol(priv->rtllib, 0, true);
                }
 
-               dm_backup_dynamic_mechanism_state(dev);
+               rtl92e_dm_backup_state(dev);
 
                up(&priv->wx_sem);
                RT_TRACE(COMP_RESET,
index 9d0b633dd7cd04fdc1a0c2e3f6eeb99450d3f457..848d6ee74962cdde3242992705329543bcbe127e 100644 (file)
@@ -1256,7 +1256,7 @@ static void dm_bb_initialgain_restore(struct net_device *dev)
 }
 
 
-void dm_backup_dynamic_mechanism_state(struct net_device *dev)
+void rtl92e_dm_backup_state(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
 
index 647a569d7787fb3274a8112d07c7b36a83a9afd2..f138c90ccaa51c595bac72efd166df9128c4a8d0 100644 (file)
@@ -200,7 +200,7 @@ extern  void    dm_txpower_trackingcallback(void *data);
 extern  void dm_cck_txpower_adjust(struct net_device *dev, bool binch14);
 
 extern  void    dm_restore_dynamic_mechanism_state(struct net_device *dev);
-extern  void    dm_backup_dynamic_mechanism_state(struct net_device *dev);
+extern  void    rtl92e_dm_backup_state(struct net_device *dev);
 extern  void    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);