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:
|
||||
status = usb_submit_urb (urb, GFP_ATOMIC);
|
||||
if (status)
|
||||
err ("can't resubmit intr, %s-%s/input0, status %d",
|
||||
mouse->usbdev->bus->bus_name,
|
||||
mouse->usbdev->devpath, status);
|
||||
dev_err(&mouse->usbdev->dev,
|
||||
"can't resubmit intr, %s-%s/input0, status %d\n",
|
||||
mouse->usbdev->bus->bus_name,
|
||||
mouse->usbdev->devpath, status);
|
||||
}
|
||||
|
||||
static int usb_mouse_open(struct input_dev *dev)
|
||||
|
|
Loading…
Reference in a new issue