diff options
author | Joe Perches <joe@perches.com> | 2020-04-03 16:43:16 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-23 18:05:37 +0300 |
commit | decf26f6ec25dac868782dc1751623a87d147831 (patch) | |
tree | 5aae411a80095a40854ac94598b455a9d6bbd82d /drivers/parport/daisy.c | |
parent | d98ce9fef73d74fa8b1301a9da3fb95ae0a1536f (diff) | |
download | linux-decf26f6ec25dac868782dc1751623a87d147831.tar.xz |
parport: Convert printk(KERN_<LEVEL> to pr_<level>(
Use the more common kernel style.
Miscellanea:
o Coalesce formats
o Realign arguments
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-2-sudipm.mukherjee@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/parport/daisy.c')
-rw-r--r-- | drivers/parport/daisy.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/parport/daisy.c b/drivers/parport/daisy.c index 3b00e2c8e2e9..f87cc802167e 100644 --- a/drivers/parport/daisy.c +++ b/drivers/parport/daisy.c @@ -145,8 +145,7 @@ again: ((num_ports = num_mux_ports(port)) == 2 || num_ports == 4)) { /* Leave original as port zero. */ port->muxport = 0; - printk(KERN_INFO - "%s: 1st (default) port of %d-way multiplexor\n", + pr_info("%s: 1st (default) port of %d-way multiplexor\n", port->name, num_ports); for (i = 1; i < num_ports; i++) { /* Clone the port. */ @@ -159,8 +158,7 @@ again: continue; } - printk(KERN_INFO - "%s: %d%s port of %d-way multiplexor on %s\n", + pr_info("%s: %d%s port of %d-way multiplexor on %s\n", extra->name, i + 1, th[i + 1], num_ports, port->name); |