aboutsummaryrefslogtreecommitdiff
path: root/drivers/parport/ieee1284_ops.c
diff options
context:
space:
mode:
authorGravatar Joe Perches <joe@perches.com> 2020-04-03 14:43:16 +0100
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2020-04-23 17:05:37 +0200
commitdecf26f6ec25dac868782dc1751623a87d147831 (patch)
tree5aae411a80095a40854ac94598b455a9d6bbd82d /drivers/parport/ieee1284_ops.c
parentparport: fix if-statement empty body warnings (diff)
downloadlinux-decf26f6ec25dac868782dc1751623a87d147831.tar.gz
linux-decf26f6ec25dac868782dc1751623a87d147831.tar.bz2
linux-decf26f6ec25dac868782dc1751623a87d147831.zip
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.c3
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;