diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2015-07-12 22:49:10 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-07-23 18:37:31 -0700 |
commit | 0a6adc131c9d0809682d72398d01099a7ea4168b (patch) | |
tree | db87e74ec8c2c1b37751a778247f0815a338cf95 /drivers/tty | |
parent | accff793af81bc64e1b37398ef6bb1f0b06491de (diff) | |
download | op-kernel-dev-0a6adc131c9d0809682d72398d01099a7ea4168b.zip op-kernel-dev-0a6adc131c9d0809682d72398d01099a7ea4168b.tar.gz |
tty: Use tty_debug() for tty_ldisc_debug()
Replace tty_ldisc_debug() macro definition; substitute with equivalent
tty_debug() invocation.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/tty_ldisc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/tty/tty_ldisc.c b/drivers/tty/tty_ldisc.c index c07fb5d..8191680 100644 --- a/drivers/tty/tty_ldisc.c +++ b/drivers/tty/tty_ldisc.c @@ -22,9 +22,7 @@ #undef LDISC_DEBUG_HANGUP #ifdef LDISC_DEBUG_HANGUP -#define tty_ldisc_debug(tty, f, args...) ({ \ - printk(KERN_DEBUG "%s: %s: " f, __func__, tty_name(tty), ##args); \ -}) +#define tty_ldisc_debug(tty, f, args...) tty_debug(tty, f, ##args) #else #define tty_ldisc_debug(tty, f, args...) #endif |