USB: remove use of err() in drivers/usb/serial
err() is going away, so switch to dev_err() or printk() if it's really needed. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -28,7 +28,8 @@ int ezusb_writememory(struct usb_serial *serial, int address,
|
||||
|
||||
/* dbg("ezusb_writememory %x, %d", address, length); */
|
||||
if (!serial->dev) {
|
||||
err("%s - no physical device present, failing.", __func__);
|
||||
printk(KERN_ERR "ezusb: %s - no physical device present, "
|
||||
"failing.\n", __func__);
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user