staging: rtl8192e: Rename dm_init_dynamic_txpower
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:19:55 +0000 (10:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:34:07 +0000 (03:34 +0200)
Use naming schema found in other rtlwifi devices.
Rename dm_init_dynamic_txpower to _rtl92e_dm_init_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 5a1cf1795de6de61bca4ebb5b3016ddaef9451bd..efd86da4200107986424c54f0959d1ca0ec9a129 100644 (file)
@@ -210,10 +210,9 @@ static void _rtl92e_dm_fsync_timer_callback(unsigned long data);
 
 /*---------------------Define local function prototype-----------------------*/
 
-static void    dm_init_dynamic_txpower(struct net_device *dev);
+static void    _rtl92e_dm_init_dynamic_tx_power(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);
 static void _rtl92e_dm_cts_to_self(struct net_device *dev);
 /*---------------------------Define function prototype------------------------*/
@@ -226,7 +225,7 @@ void rtl92e_dm_init(struct net_device *dev)
 
        priv->undecorated_smoothed_pwdb = -1;
 
-       dm_init_dynamic_txpower(dev);
+       _rtl92e_dm_init_dynamic_tx_power(dev);
 
        rtl92e_init_adaptive_rate(dev);
 
@@ -2484,7 +2483,7 @@ static void _rtl92e_dm_check_fsync(struct net_device *dev)
 }
 
 /*---------------------------Define function prototype------------------------*/
-static void dm_init_dynamic_txpower(struct net_device *dev)
+static void _rtl92e_dm_init_dynamic_tx_power(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);