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

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 380c787bc72aa51ffaea1bc8d8ade028a5dcde06..43fcdf7348979c2c2f27c566362400e61ce24153 100644 (file)
@@ -211,7 +211,7 @@ static void dm_fsync_timer_callback(unsigned long data);
 /*---------------------Define local function prototype-----------------------*/
 
 static void    dm_init_dynamic_txpower(struct net_device *dev);
-static void    dm_dynamic_txpower(struct net_device *dev);
+static void _rtl92e_dm_dynamic_tx_power(struct net_device *dev);
 
 
 static void dm_send_rssi_tofw(struct net_device *dev);
@@ -264,7 +264,7 @@ void rtl92e_dm_watchdog(struct net_device *dev)
        _rtl92e_dm_check_edca_turbo(dev);
 
        _rtl92e_dm_check_rate_adaptive(dev);
-       dm_dynamic_txpower(dev);
+       _rtl92e_dm_dynamic_tx_power(dev);
        _rtl92e_dm_check_tx_power_tracking(dev);
 
        dm_ctrl_initgain_byrssi(dev);
@@ -2495,7 +2495,7 @@ static void dm_init_dynamic_txpower(struct net_device *dev)
        priv->bDynamicTxLowPower = false;
 }
 
-static void dm_dynamic_txpower(struct net_device *dev)
+static void _rtl92e_dm_dynamic_tx_power(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        unsigned int txhipower_threshhold = 0;