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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7b22a8855a
commit
185a85518a
1 changed files with 4 additions and 3 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue