diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2015-11-08 13:01:13 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-13 19:59:48 -0800 |
commit | 339f36ba14cf9f8fcf6e6b78385bd6811ec59fbe (patch) | |
tree | e5bed951017a1b12b262df03d00d1fbb8fc78db9 /net | |
parent | 0a083eddae33b6e20234d05a9cf54f87b0095511 (diff) | |
download | lwn-339f36ba14cf9f8fcf6e6b78385bd6811ec59fbe.tar.gz lwn-339f36ba14cf9f8fcf6e6b78385bd6811ec59fbe.zip |
tty: Define tty_*() printk macros
Since not all ttys are devices (eg., SysV ptys), dev_*() printk macros
cannot be used. Define tty_*() printk macros that output in similar
format to dev_*() macros (ie., <driver> <tty>: .....).
Transform the most-trivial printk( LEVEL ...) usage to tty_*() usage.
NB: The function name has been eliminated from messages with unique
context, or prefixed to the format when given.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions