diff options
author | Joe Perches <joe@perches.com> | 2013-05-29 02:44:24 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-30 11:59:47 (GMT) |
commit | 6e8661ed303f2f212436bfbee65f474077df55f6 (patch) | |
tree | 6cb2491d747a5b4afbcfbdac11e738ad1b090aa5 /drivers/staging/fwserial/fwserial.h | |
parent | ee76875ea54f22f81b857b4617f9b608c4cde64c (diff) | |
download | linux-6e8661ed303f2f212436bfbee65f474077df55f6.tar.xz |
staging: fwserial: Use normal logging styles
Logging messages without newline termination are subject
to interleaving by other messages.
Avoid this by adding newlines to each message.
Neaten fwtty_<level> logging macros.
Convert driver_err to pr_err.
Add #define pr_fmt to prefix those messages.
Remove now unused driver_err macro.
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fwserial/fwserial.h')
-rw-r--r-- | drivers/staging/fwserial/fwserial.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/fwserial/fwserial.h b/drivers/staging/fwserial/fwserial.h index 514f571..2463501 100644 --- a/drivers/staging/fwserial/fwserial.h +++ b/drivers/staging/fwserial/fwserial.h @@ -356,8 +356,6 @@ static const char loop_dev_name[] = "fwloop"; extern struct tty_driver *fwtty_driver; -#define driver_err(s, v...) pr_err(KBUILD_MODNAME ": " s, ##v) - struct fwtty_port *fwtty_port_get(unsigned index); void fwtty_port_put(struct fwtty_port *port); |