From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 08:19:49 +0000 (+0200) Subject: staging: rtl8192e: Rename dm_dynamic_txpower X-Git-Tag: firefly_0821_release~176^2~802^2~1544 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b09dea2f279e131c5790339d24bb7bc34bb846d3;p=firefly-linux-kernel-4.4.55.git staging: rtl8192e: Rename dm_dynamic_txpower Use naming schema found in other rtlwifi devices. Rename dm_dynamic_txpower to _rtl92e_dm_dynamic_tx_power. Signed-off-by: Mateusz Kulikowski Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c index 380c787bc72a..43fcdf734897 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c @@ -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;