serial: 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
bf9d892952
commit
71cc2c2152
@ -1247,7 +1247,7 @@ static int rs_360_tiocmget(struct tty_struct *tty, struct file *file)
|
||||
#ifdef modem_control
|
||||
unsigned char control, status;
|
||||
|
||||
if (serial_paranoia_check(info, tty->name, __FUNCTION__))
|
||||
if (serial_paranoia_check(info, tty->name, __func__))
|
||||
return -ENODEV;
|
||||
|
||||
if (tty->flags & (1 << TTY_IO_ERROR))
|
||||
@ -1278,7 +1278,7 @@ static int rs_360_tiocmset(struct tty_struct *tty, struct file *file,
|
||||
ser_info_t *info = (ser_info_t *)tty->driver_data;
|
||||
unsigned int arg;
|
||||
|
||||
if (serial_paranoia_check(info, tty->name, __FUNCTION__))
|
||||
if (serial_paranoia_check(info, tty->name, __func__))
|
||||
return -ENODEV;
|
||||
|
||||
if (tty->flags & (1 << TTY_IO_ERROR))
|
||||
|
Reference in New Issue
Block a user