parport: Use more comon logging styles
authorJoe Perches <joe@perches.com>
Fri, 3 Apr 2020 13:43:17 +0000 (14:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Apr 2020 15:05:37 +0000 (17:05 +0200)
commitaa3d6e7c49e3b480aa9db0e9924736726a6f75aa
treea524d4c15c0df94f1cb17a764aec43cec3f621f6
parentdecf26f6ec25dac868782dc1751623a87d147831
parport: Use more comon logging styles

Some of the logging can be poorly formatted because of unexpected
line breaks given printks without KERN_CONT that should be pr_cont.

Miscellanea:

o Remove unnecessary spaces between function name and open parenthesis
o Convert bare printks to pr_<level> where appropriate
o Convert embedded function names to use %s, __func__
o Coalesce formats
o Realign arguments
o Use do {} while (0) in a macro and not a bare if

Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Link: https://lore.kernel.org/r/20200403134325.11523-3-sudipm.mukherjee@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/parport/parport_gsc.c
drivers/parport/parport_gsc.h
drivers/parport/parport_ip32.c
drivers/parport/parport_pc.c
drivers/parport/probe.c
drivers/parport/share.c