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/ieee1284_ops.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/ieee1284_ops.c')
-rw-r--r-- | drivers/parport/ieee1284_ops.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/parport/ieee1284_ops.c b/drivers/parport/ieee1284_ops.c index b1c9f513167b..2c11bd3fe1fd 100644 --- a/drivers/parport/ieee1284_ops.c +++ b/drivers/parport/ieee1284_ops.c @@ -579,8 +579,7 @@ size_t parport_ieee1284_ecp_read_data (struct parport *port, pr_debug("ECP read timed out at 45\n"); if (command) - printk (KERN_WARNING - "%s: command ignored (%02x)\n", + pr_warn("%s: command ignored (%02x)\n", port->name, byte); break; |