staging: rtl8192e: Rename dm_TXPowerTrackingCallback_ThermalMeter
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:20:08 +0000 (10:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:34:08 +0000 (03:34 +0200)
Use naming schema found in other rtlwifi devices.
Rename dm_TXPowerTrackingCallback_ThermalMeter to
_rtl92e_dm_tx_power_tracking_cb_thermal.

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

index cac70c2010a4fcc8893a498824302a77e021db14..5f466262fbc842ca2eebf4dfc58e5b82bca660b4 100644 (file)
@@ -837,7 +837,7 @@ static void dm_TXPowerTrackingCallback_TSSI(struct net_device *dev)
        rtl92e_writeb(dev, Pw_Track_Flag, 0);
 }
 
-static void dm_TXPowerTrackingCallback_ThermalMeter(struct net_device *dev)
+static void _rtl92e_dm_tx_power_tracking_cb_thermal(struct net_device *dev)
 {
 #define ThermalMeterVal        9
        struct r8192_priv *priv = rtllib_priv(dev);
@@ -949,7 +949,7 @@ void rtl92e_dm_txpower_tracking_wq(void *data)
        if (priv->IC_Cut >= IC_VersionCut_D)
                dm_TXPowerTrackingCallback_TSSI(dev);
        else
-               dm_TXPowerTrackingCallback_ThermalMeter(dev);
+               _rtl92e_dm_tx_power_tracking_cb_thermal(dev);
 }
 
 static void _rtl92e_dm_initialize_tx_power_tracking_tssi(struct net_device *dev)