Commit c9a2baa7 authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman

USB: usblcd: use pr_err()

Replace the one remaining printk with pr_err().
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20190926091228.24634-10-johan@kernel.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d046fd5e
...@@ -84,7 +84,7 @@ static int lcd_open(struct inode *inode, struct file *file) ...@@ -84,7 +84,7 @@ static int lcd_open(struct inode *inode, struct file *file)
interface = usb_find_interface(&lcd_driver, subminor); interface = usb_find_interface(&lcd_driver, subminor);
if (!interface) { if (!interface) {
printk(KERN_ERR "USBLCD: %s - error, can't find device for minor %d\n", pr_err("USBLCD: %s - error, can't find device for minor %d\n",
__func__, subminor); __func__, subminor);
return -ENODEV; return -ENODEV;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment