USB: irda-usb.c: remove err() usage
err() was a very old USB-specific macro that I thought had gone away. This patch removes it from being used in the driver and uses dev_err() instead. CC: Samuel Ortiz <samuel@sortiz.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d372c4197d
commit
3d55ea3e22
|
@ -1671,7 +1671,7 @@ static int irda_usb_probe(struct usb_interface *intf,
|
||||||
|
|
||||||
/* Is this really necessary? (no, except maybe for broken devices) */
|
/* Is this really necessary? (no, except maybe for broken devices) */
|
||||||
if (usb_reset_configuration (dev) < 0) {
|
if (usb_reset_configuration (dev) < 0) {
|
||||||
err("reset_configuration failed");
|
dev_err(&intf->dev, "reset_configuration failed\n");
|
||||||
ret = -EIO;
|
ret = -EIO;
|
||||||
goto err_out_3;
|
goto err_out_3;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue