drivers/char: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
8e24eea728
commit
bf9d892952
@@ -40,8 +40,8 @@ static int gs_debug;
|
||||
#define gs_dprintk(f, str...) /* nothing */
|
||||
#endif
|
||||
|
||||
#define func_enter() gs_dprintk (GS_DEBUG_FLOW, "gs: enter %s\n", __FUNCTION__)
|
||||
#define func_exit() gs_dprintk (GS_DEBUG_FLOW, "gs: exit %s\n", __FUNCTION__)
|
||||
#define func_enter() gs_dprintk (GS_DEBUG_FLOW, "gs: enter %s\n", __func__)
|
||||
#define func_exit() gs_dprintk (GS_DEBUG_FLOW, "gs: exit %s\n", __func__)
|
||||
|
||||
#define RS_EVENT_WRITE_WAKEUP 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user