diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-25 17:48:49 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-25 17:48:49 -0400 |
commit | 3d55ea3e2233c994649d9e5dc9eff58f915cd81d (patch) | |
tree | 44d704e928bf93429810d54da4b48c5183df21d8 /drivers/net | |
parent | d372c4197d642763a6fde0ed3baa7cfce78df22d (diff) |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/irda/irda-usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/irda/irda-usb.c b/drivers/net/irda/irda-usb.c index 72f687b40d6..f9a86bdb12f 100644 --- a/drivers/net/irda/irda-usb.c +++ b/drivers/net/irda/irda-usb.c | |||
@@ -1671,7 +1671,7 @@ static int irda_usb_probe(struct usb_interface *intf, | |||
1671 | 1671 | ||
1672 | /* Is this really necessary? (no, except maybe for broken devices) */ | 1672 | /* Is this really necessary? (no, except maybe for broken devices) */ |
1673 | if (usb_reset_configuration (dev) < 0) { | 1673 | if (usb_reset_configuration (dev) < 0) { |
1674 | err("reset_configuration failed"); | 1674 | dev_err(&intf->dev, "reset_configuration failed\n"); |
1675 | ret = -EIO; | 1675 | ret = -EIO; |
1676 | goto err_out_3; | 1676 | goto err_out_3; |
1677 | } | 1677 | } |