]> git.baikalelectronics.ru Git - kernel.git/commit
tty: Replace inline #ifdef TTY_DEBUG_WAIT_UNTIL_SENT
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 13 Jul 2015 02:49:11 +0000 (22:49 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Jul 2015 01:37:31 +0000 (18:37 -0700)
commitf780f04c8d6c9c6a3150aae0300c5330421898a1
tree77f110b0055e6d11db1991379e2ffbb2acf61786
parent4e13e31120b73d3955e10cfdb0885948b00fafbb
tty: Replace inline #ifdef TTY_DEBUG_WAIT_UNTIL_SENT

Add tty_debug_wait_until_sent() macro which uses tty_debug() to print
the debug message; remove inlined #ifdef.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_ioctl.c