Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -1
+1 -1
drivers/net/irda/irda-usb.c
··· 1671 1671 1672 1672 /* Is this really necessary? (no, except maybe for broken devices) */ 1673 1673 if (usb_reset_configuration (dev) < 0) { 1674 - err("reset_configuration failed"); 1674 + dev_err(&intf->dev, "reset_configuration failed\n"); 1675 1675 ret = -EIO; 1676 1676 goto err_out_3; 1677 1677 }