From: Peter Hurley Date: Mon, 13 Jul 2015 02:49:10 +0000 (-0400) Subject: tty: Use tty_debug() for tty_ldisc_debug() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0a6adc131c9d0809682d72398d01099a7ea4168b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/tty_ldisc.c b/drivers/tty/tty_ldisc.c index c07fb5d9bcf9..81916804019e 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