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:
@@ -768,7 +768,7 @@ static int visor_probe(struct usb_serial *serial,
|
||||
dbg("%s", __func__);
|
||||
|
||||
if (serial->dev->actconfig->desc.bConfigurationValue != 1) {
|
||||
err("active config #%d != 1 ??",
|
||||
dev_err(&serial->dev->dev, "active config #%d != 1 ??\n",
|
||||
serial->dev->actconfig->desc.bConfigurationValue);
|
||||
return -ENODEV;
|
||||
}
|
||||
|
Reference in New Issue
Block a user