aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMoyster <oysterized@gmail.com>2017-09-23 03:10:48 +0200
committerMoyster <oysterized@gmail.com>2017-09-23 03:10:48 +0200
commitb8d1e07edc8d57883bf4b6ca70228b5a9e6b98b2 (patch)
treeb9c284cc99fc24d884b4dedc7100e5881a35011f /include
parentfa4d1db09a4946ad8ba42514687c6b8a3603d623 (diff)
misc: replace __FUNCTION__ by __function__
result of : git grep -l '__FUNCTION__' | xargs sed -i 's/__FUNCTION__/__func__/g'
Diffstat (limited to 'include')
-rw-r--r--include/linux/vcodec/video_custom_sp.h2
-rw-r--r--include/mach/mt_freqhopping_drv.h2
-rw-r--r--include/mach/mt_gpio_core.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/vcodec/video_custom_sp.h b/include/linux/vcodec/video_custom_sp.h
index 7be05e1c0..881c128ba 100644
--- a/include/linux/vcodec/video_custom_sp.h
+++ b/include/linux/vcodec/video_custom_sp.h
@@ -26,7 +26,7 @@
#define ASSERT(expr) \
do { \
if (!(expr)) \
- AssertionFailed(__FUNCTION__,__FILE__, __LINE__); \
+ AssertionFailed(__func__,__FILE__, __LINE__); \
} while (0) ///< ASSERT definition
/******************************************************************************
diff --git a/include/mach/mt_freqhopping_drv.h b/include/mach/mt_freqhopping_drv.h
index c8f84316d..639a7b79b 100644
--- a/include/mach/mt_freqhopping_drv.h
+++ b/include/mach/mt_freqhopping_drv.h
@@ -88,7 +88,7 @@ struct mt_fh_hal_driver* mt_get_fh_hal_drv(void);
#define FH_BUG_ON(x) \
do { \
if((x)){ \
- printk("BUGON %s:%d %s:%d\n",__FUNCTION__,__LINE__,current->comm,current->pid); \
+ printk("BUGON %s:%d %s:%d\n",__func__,__LINE__,current->comm,current->pid); \
} \
} while(0);
diff --git a/include/mach/mt_gpio_core.h b/include/mach/mt_gpio_core.h
index 02f391608..a44582b49 100644
--- a/include/mach/mt_gpio_core.h
+++ b/include/mach/mt_gpio_core.h
@@ -24,7 +24,7 @@
#define GPIOLOG(fmt, arg...) printk(GPIOTAG fmt, ##arg)
#define GPIOMSG(fmt, arg...) printk(fmt, ##arg)
#define GPIOERR(fmt, arg...) printk(KERN_ERR GPIOTAG "%5d: "fmt, __LINE__, ##arg)
-#define GPIOFUC(fmt, arg...) /* printk(GPIOTAG "%s\n", __FUNCTION__) */
+#define GPIOFUC(fmt, arg...) /* printk(GPIOTAG "%s\n", __func__) */
/*----------------------------------------------------------------------------*/
/* Error Code No. */
#define RSUCCESS 0