staging: rtl8192e: Rename dm_txpower_trackingcallback
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:28:36 +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_txpower_trackingcallback to rtl92e_dm_txpower_tracking_wq.

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 43b5e90..9dc05ca 100644 (file)
@@ -1027,7 +1027,7 @@ static void rtl8192_init_priv_task(struct net_device *dev)
        INIT_DELAYED_WORK_RSL(&priv->watch_dog_wq,
                              (void *)rtl819x_watchdog_wqcallback, dev);
        INIT_DELAYED_WORK_RSL(&priv->txpower_tracking_wq,
-                             (void *)dm_txpower_trackingcallback, dev);
+                             (void *)rtl92e_dm_txpower_tracking_wq, dev);
        INIT_DELAYED_WORK_RSL(&priv->rfpath_check_wq,
                              (void *)rtl92e_dm_rf_pathcheck_wq, dev);
        INIT_DELAYED_WORK_RSL(&priv->update_beacon_wq,
index 0488732..c79f8ab 100644 (file)
@@ -947,7 +947,7 @@ static void dm_TXPowerTrackingCallback_ThermalMeter(struct net_device *dev)
        priv->txpower_count = 0;
 }
 
-void   dm_txpower_trackingcallback(void *data)
+void rtl92e_dm_txpower_tracking_wq(void *data)
 {
        struct r8192_priv *priv = container_of_dwork_rsl(data,
                                  struct r8192_priv, txpower_tracking_wq);
index 0184cdf..1fa0ff8 100644 (file)
@@ -195,7 +195,7 @@ extern void hal_dm_watchdog(struct net_device *dev);
 
 
 extern  void    init_rate_adaptive(struct net_device *dev);
-extern  void    dm_txpower_trackingcallback(void *data);
+extern  void    rtl92e_dm_txpower_tracking_wq(void *data);
 
 extern  void rtl92e_dm_cck_txpower_adjust(struct net_device *dev, bool binch14);