forked from Minki/linux
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
@ -92,7 +92,8 @@ 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",
|
||||
dev_err(&mouse->usbdev->dev,
|
||||
"can't resubmit intr, %s-%s/input0, status %d\n",
|
||||
mouse->usbdev->bus->bus_name,
|
||||
mouse->usbdev->devpath, status);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user