summaryrefslogtreecommitdiff
path: root/drivers/usb/misc/iowarrior.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2019-10-09 13:48:46 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-10 13:45:07 +0300
commitebb2fe57a51c630e0f852becbbdd295ad5d60514 (patch)
tree9876babd04edfebe29aee55c3280fc987e5ebf18 /drivers/usb/misc/iowarrior.c
parent8d33e828f72c216ae264ad39088a595d9a6cc95c (diff)
downloadlinux-ebb2fe57a51c630e0f852becbbdd295ad5d60514.tar.xz
USB: iowarrior: use pr_err()
Replace the one remaining printk with pr_err(). Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://lore.kernel.org/r/20191009104846.5925-7-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/misc/iowarrior.c')
-rw-r--r--drivers/usb/misc/iowarrior.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/misc/iowarrior.c b/drivers/usb/misc/iowarrior.c
index ad29ef51e53f..dce44fbf031f 100644
--- a/drivers/usb/misc/iowarrior.c
+++ b/drivers/usb/misc/iowarrior.c
@@ -587,7 +587,7 @@ static int iowarrior_open(struct inode *inode, struct file *file)
interface = usb_find_interface(&iowarrior_driver, subminor);
if (!interface) {
- printk(KERN_ERR "%s - error, can't find device for minor %d\n",
+ pr_err("%s - error, can't find device for minor %d\n",
__func__, subminor);
return -ENODEV;
}