staging: Convert __FUNCTION__ to __func__
[firefly-linux-kernel-4.4.55.git] / drivers / staging / rtl8723au / hal / hal_com.c
index af7e6b37584191a124f3a6bb975f79bc1d473e58..d2ee240496cc36a40846a6eca60bbf2860a7abbc 100644 (file)
@@ -593,7 +593,7 @@ void rtl8723a_on_rcr_am(struct rtw_adapter *padapter)
 {
        rtl8723au_write32(padapter, REG_RCR,
                    rtl8723au_read32(padapter, REG_RCR) | RCR_AM);
-       DBG_8723A("%s, %d, RCR = %x \n", __FUNCTION__, __LINE__,
+       DBG_8723A("%s, %d, RCR = %x \n", __func__, __LINE__,
                  rtl8723au_read32(padapter, REG_RCR));
 }
 
@@ -601,7 +601,7 @@ void rtl8723a_off_rcr_am(struct rtw_adapter *padapter)
 {
        rtl8723au_write32(padapter, REG_RCR,
                    rtl8723au_read32(padapter, REG_RCR) & (~RCR_AM));
-       DBG_8723A("%s, %d, RCR = %x \n", __FUNCTION__, __LINE__,
+       DBG_8723A("%s, %d, RCR = %x \n", __func__, __LINE__,
                  rtl8723au_read32(padapter, REG_RCR));
 }