staging: Convert __FUNCTION__ to __func__
[firefly-linux-kernel-4.4.55.git] / drivers / staging / rtl8192u / r8192U_dm.c
index 9fa12e4618b13964b4cb76e2919f5cb74c412faf..b4264e1353c99e425adb69e0a944f75dcd658069 100644 (file)
@@ -2523,7 +2523,7 @@ static void dm_check_edca_turbo(
        if(priv->ieee80211->pHTInfo->IOTAction & HT_IOT_ACT_DISABLE_EDCA_TURBO)
                goto dm_CheckEdcaTurbo_EXIT;
 
-//     printk("========>%s():bis_any_nonbepkts is %d\n",__FUNCTION__,priv->bis_any_nonbepkts);
+//     printk("========>%s():bis_any_nonbepkts is %d\n",__func__,priv->bis_any_nonbepkts);
        // Check the status for current condition.
        if(!priv->ieee80211->bis_any_nonbepkts)
        {
@@ -3183,7 +3183,7 @@ void dm_fsync_timer_callback(unsigned long data)
 
 static void dm_StartHWFsync(struct net_device *dev)
 {
-       RT_TRACE(COMP_HALDM, "%s\n", __FUNCTION__);
+       RT_TRACE(COMP_HALDM, "%s\n", __func__);
        write_nic_dword(dev, rOFDM0_RxDetector2, 0x465c12cf);
        write_nic_byte(dev, 0xc3b, 0x41);
 }
@@ -3192,7 +3192,7 @@ static void dm_EndSWFsync(struct net_device *dev)
 {
        struct r8192_priv *priv = ieee80211_priv(dev);
 
-       RT_TRACE(COMP_HALDM, "%s\n", __FUNCTION__);
+       RT_TRACE(COMP_HALDM, "%s\n", __func__);
        del_timer_sync(&(priv->fsync_timer));
 
        // Let Register return to default value;
@@ -3216,7 +3216,7 @@ static void dm_StartSWFsync(struct net_device *dev)
        u32                     rateIndex;
        u32                     rateBitmap;
 
-       RT_TRACE(COMP_HALDM,"%s\n", __FUNCTION__);
+       RT_TRACE(COMP_HALDM,"%s\n", __func__);
        // Initial rate record to zero, start to record.
        priv->rate_record = 0;
        // Initialize continue diff count to zero, start to record.
@@ -3251,7 +3251,7 @@ static void dm_StartSWFsync(struct net_device *dev)
 
 static void dm_EndHWFsync(struct net_device *dev)
 {
-       RT_TRACE(COMP_HALDM,"%s\n", __FUNCTION__);
+       RT_TRACE(COMP_HALDM,"%s\n", __func__);
        write_nic_dword(dev, rOFDM0_RxDetector2, 0x465c52cd);
        write_nic_byte(dev, 0xc3b, 0x49);
 
@@ -3483,7 +3483,7 @@ static void dm_dynamic_txpower(struct net_device *dev)
                txlowpower_threshold = TX_POWER_NEAR_FIELD_THRESH_LOW;
        }
 
-//     printk("=======>%s(): txhipower_threshhold is %d,txlowpower_threshold is %d\n",__FUNCTION__,txhipower_threshhold,txlowpower_threshold);
+//     printk("=======>%s(): txhipower_threshhold is %d,txlowpower_threshold is %d\n",__func__,txhipower_threshhold,txlowpower_threshold);
        RT_TRACE(COMP_TXAGC,"priv->undecorated_smoothed_pwdb = %ld \n" , priv->undecorated_smoothed_pwdb);
 
        if(priv->ieee80211->state == IEEE80211_LINKED)