Commit 33f7a67e authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: Staging: serqt_usb2: 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: Bill Pemberton <wfp5p@virginia.edu>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 92206f47
...@@ -1559,8 +1559,9 @@ static void qt_unthrottle(struct tty_struct *tty) ...@@ -1559,8 +1559,9 @@ static void qt_unthrottle(struct tty_struct *tty)
qt_read_bulk_callback, port); qt_read_bulk_callback, port);
result = usb_submit_urb(port->read_urb, GFP_ATOMIC); result = usb_submit_urb(port->read_urb, GFP_ATOMIC);
if (result) if (result)
err("%s - failed restarting read urb, error %d", dev_err(&port->dev,
__func__, result); "%s - failed restarting read urb, error %d\n",
__func__, result);
} }
} }
mutex_unlock(&qt_port->lock); mutex_unlock(&qt_port->lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment