Commit 185a8551 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: usbmouse.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: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7b22a885
...@@ -92,9 +92,10 @@ static void usb_mouse_irq(struct urb *urb) ...@@ -92,9 +92,10 @@ static void usb_mouse_irq(struct urb *urb)
resubmit: resubmit:
status = usb_submit_urb (urb, GFP_ATOMIC); status = usb_submit_urb (urb, GFP_ATOMIC);
if (status) if (status)
err ("can't resubmit intr, %s-%s/input0, status %d", dev_err(&mouse->usbdev->dev,
mouse->usbdev->bus->bus_name, "can't resubmit intr, %s-%s/input0, status %d\n",
mouse->usbdev->devpath, status); mouse->usbdev->bus->bus_name,
mouse->usbdev->devpath, status);
} }
static int usb_mouse_open(struct input_dev *dev) static int usb_mouse_open(struct input_dev *dev)
......
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