tty: Replace #ifdef TTY_DEBUG_HANGUP with tty_debug_hangup()
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 13 Jul 2015 02:49:09 +0000 (22:49 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Jul 2015 01:37:31 +0000 (18:37 -0700)
commitaccff793af81bc64e1b37398ef6bb1f0b06491de
tree51cedbe44ccd487b871d3bb07bae5a9e56c5b632
parente2dfa3d38797058fa03478b08bab3d3c4b081615
tty: Replace #ifdef TTY_DEBUG_HANGUP with tty_debug_hangup()

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

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