]> git.baikalelectronics.ru Git - kernel.git/commit
staging: fwserial: Use normal logging styles
authorJoe Perches <joe@perches.com>
Wed, 29 May 2013 02:44:24 +0000 (19:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:59:47 +0000 (20:59 +0900)
commit79ad9a397f4b95f00ad82576eaf42858c99340c4
tree6cb2491d747a5b4afbcfbdac11e738ad1b090aa5
parent8508122489f2696b88c03b417ed18f4095c92473
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>
drivers/staging/fwserial/fwserial.c
drivers/staging/fwserial/fwserial.h