diff options
| author | Moyster <oysterized@gmail.com> | 2017-09-23 03:10:48 +0200 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-09-23 03:10:48 +0200 |
| commit | b8d1e07edc8d57883bf4b6ca70228b5a9e6b98b2 (patch) | |
| tree | b9c284cc99fc24d884b4dedc7100e5881a35011f /mm/compaction.c | |
| parent | fa4d1db09a4946ad8ba42514687c6b8a3603d623 (diff) | |
misc: replace __FUNCTION__ by __function__
result of :
git grep -l '__FUNCTION__' | xargs sed -i 's/__FUNCTION__/__func__/g'
Diffstat (limited to 'mm/compaction.c')
| -rw-r--r-- | mm/compaction.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/compaction.c b/mm/compaction.c index e74aa7ba6..894dddf5a 100644 --- a/mm/compaction.c +++ b/mm/compaction.c @@ -1294,7 +1294,7 @@ static struct early_suspend kick_compaction_early_suspend_desc = { static int __init compaction_init(void) { - printk("@@@@@@ [%s] Register early suspend callback @@@@@@\n",__FUNCTION__); + printk("@@@@@@ [%s] Register early suspend callback @@@@@@\n",__func__); #ifdef CONFIG_EARLYSUSPEND register_early_suspend(&kick_compaction_early_suspend_desc); #endif @@ -1302,7 +1302,7 @@ static int __init compaction_init(void) } static void __exit compaction_exit(void) { - printk("@@@@@@ [%s] Unregister early suspend callback @@@@@@\n",__FUNCTION__); + printk("@@@@@@ [%s] Unregister early suspend callback @@@@@@\n",__func__); #ifdef CONFIG_EARLYSUSPEND unregister_early_suspend(&kick_compaction_early_suspend_desc); #endif |
