You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
USB: acecad.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: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -105,8 +105,10 @@ static void usb_acecad_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(&acecad->usbdev->dev,
|
||||||
acecad->usbdev->bus->bus_name, acecad->usbdev->devpath, status);
|
"can't resubmit intr, %s-%s/input0, status %d\n",
|
||||||
|
acecad->usbdev->bus->bus_name,
|
||||||
|
acecad->usbdev->devpath, status);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int usb_acecad_open(struct input_dev *dev)
|
static int usb_acecad_open(struct input_dev *dev)
|
||||||
|
|||||||
Reference in New Issue
Block a user