wlan: Replace __FUNCTION__ argument with __func__ in the wlan driver

The fix is to not use the gcc specific __FUNCTION__ to capture function
name; but use __func__  which is a C-99 standard identifier

Change-Id: Ie36f1bb87a3a4a51ec177ab5b6a253e279401e88
CR-Fixed: NA
diff --git a/CORE/HDD/src/wlan_hdd_early_suspend.c b/CORE/HDD/src/wlan_hdd_early_suspend.c
index 03d960a..6d96a86 100644
--- a/CORE/HDD/src/wlan_hdd_early_suspend.c
+++ b/CORE/HDD/src/wlan_hdd_early_suspend.c
@@ -627,7 +627,7 @@
       if (pAdapter != NULL)
       {
          VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,
-               "%s: Can't set multicast addr filtering in P2P-GO HDD", __FUNCTION__);
+               "%s: Can't set multicast addr filtering in P2P-GO HDD", __func__);
          return VOS_STATUS_E_FAILURE;
       }
 
@@ -637,7 +637,7 @@
 
       if(pAdapter == NULL)
       {
-         VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,"%s: HDD adapter context is Null", __FUNCTION__);
+         VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,"%s: HDD adapter context is Null", __func__);
          return VOS_STATUS_E_FAILURE;
       }
    }
@@ -650,7 +650,7 @@
          pAdapter = hdd_get_adapter(pHddCtx,WLAN_HDD_P2P_CLIENT);
          if(pAdapter == NULL)
          {
-            VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,"%s: HDD adapter context is Null", __FUNCTION__);
+            VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,"%s: HDD adapter context is Null", __func__);
             return VOS_STATUS_E_FAILURE;
          }
       }
@@ -1189,13 +1189,13 @@
    pVosContext = vos_get_global_context(VOS_MODULE_ID_SYS, NULL);
    if (NULL == pVosContext)
    {
-      hddLog(LOGE, "%s: Invalid pContext", __FUNCTION__);
+      hddLog(LOGE, "%s: Invalid pContext", __func__);
       return;
    }
    smeContext = vos_get_context(VOS_MODULE_ID_SME, pVosContext);
    if (NULL == smeContext)
    {
-      hddLog(LOGE, "%s: Invalid smeContext", __FUNCTION__);
+      hddLog(LOGE, "%s: Invalid smeContext", __func__);
       return;
    }
 
@@ -1216,13 +1216,13 @@
    pVosContext = vos_get_global_context(VOS_MODULE_ID_SYS, NULL);
    if (NULL == pVosContext)
    {
-      hddLog(LOGE, "%s: Invalid pContext", __FUNCTION__);
+      hddLog(LOGE, "%s: Invalid pContext", __func__);
       return;
    }
    smeContext = vos_get_context(VOS_MODULE_ID_SME, pVosContext);
    if (NULL == smeContext)
    {
-      hddLog(LOGE, "%s: Invalid smeContext", __FUNCTION__);
+      hddLog(LOGE, "%s: Invalid smeContext", __func__);
       return;
    }
 
@@ -1721,7 +1721,7 @@
    vosStatus = hdd_wmm_init(pHddCtx);
    if ( !VOS_IS_STATUS_SUCCESS( vosStatus ))
    {
-      hddLog(VOS_TRACE_LEVEL_FATAL, "%s: hdd_wmm_init failed", __FUNCTION__);
+      hddLog(VOS_TRACE_LEVEL_FATAL, "%s: hdd_wmm_init failed", __func__);
       goto err_vosclose;
    }
 
@@ -2158,7 +2158,7 @@
    vosStatus = hdd_wmm_init(pHddCtx);
    if ( !VOS_IS_STATUS_SUCCESS( vosStatus ))
    {
-      hddLog(VOS_TRACE_LEVEL_FATAL, "%s: hdd_wmm_init failed", __FUNCTION__);
+      hddLog(VOS_TRACE_LEVEL_FATAL, "%s: hdd_wmm_init failed", __func__);
       goto err_vosclose;
    }