]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tty: Improve tty_debug() macro
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 8 Nov 2015 18:01:08 +0000 (13:01 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Dec 2015 03:59:48 +0000 (19:59 -0800)
commit998b4a4571b87eb6795863e07683fa5d4e0398ba
tree1e69c6937a86f98f0aaff2951866477269d8c02c
parent9f25bc510e960c551dc295c2d1d60e3da334590c
tty: Improve tty_debug() macro

Incorporate suggestions for tty core debug macro improvements
 - printk(KERN_DEBUG) => pr_debug()
 - ##args => ##__VA_ARGS__
 - remove do {} while()
 - output tty_name() first

cc: Joe Perches <joe@perches.com>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/tty.h