Skip to content

Commit

Permalink
USB: vmk80xx.c: remove err() usage
Browse files Browse the repository at this point in the history
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: Ian Abbott <abbotti@mev.co.uk>
CC: Mori Hess <fmhess@users.sourceforge.net>
CC: "J. Ali Harlow" <ali@avrc.city.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Greg Kroah-Hartman committed Apr 20, 2012
1 parent de15fe3 commit b864cbe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/staging/comedi/drivers/vmk80xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,9 @@ static void vmk80xx_rx_callback(struct urb *urb)
if (!usb_submit_urb(urb, GFP_KERNEL))
goto exit;

err("comedi#: vmk80xx: %s - submit urb failed\n", __func__);
dev_err(&urb->dev->dev,
"comedi#: vmk80xx: %s - submit urb failed\n",
__func__);

usb_unanchor_urb(urb);
}
Expand Down

0 comments on commit b864cbe

Please sign in to comment.