Skip to content

Commit ebb2fe5

Browse files
jhovoldgregkh
authored andcommitted
USB: iowarrior: use pr_err()
Replace the one remaining printk with pr_err(). Signed-off-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 8d33e82 commit ebb2fe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/misc/iowarrior.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ static int iowarrior_open(struct inode *inode, struct file *file)
587587

588588
interface = usb_find_interface(&iowarrior_driver, subminor);
589589
if (!interface) {
590-
printk(KERN_ERR "%s - error, can't find device for minor %d\n",
590+
pr_err("%s - error, can't find device for minor %d\n",
591591
__func__, subminor);
592592
return -ENODEV;
593593
}

0 commit comments

Comments
 (0)