mirror of https://gitee.com/openkylin/linux.git
USB: wacom_sys.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> CC: Ping Cheng <pingc@wacom.com> CC: Chris Bagwell <chris@cnpbagwell.com> CC: Eduard Hasenleithner <eduard@hasenleithner.at> CC: Jason Gerecke <killertofu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
202712c232
commit
b3169fecb1
|
@ -122,8 +122,9 @@ static void wacom_sys_irq(struct urb *urb)
|
||||||
usb_mark_last_busy(wacom->usbdev);
|
usb_mark_last_busy(wacom->usbdev);
|
||||||
retval = usb_submit_urb(urb, GFP_ATOMIC);
|
retval = usb_submit_urb(urb, GFP_ATOMIC);
|
||||||
if (retval)
|
if (retval)
|
||||||
err ("%s - usb_submit_urb failed with result %d",
|
dev_err(&wacom->intf->dev,
|
||||||
__func__, retval);
|
"%s - usb_submit_urb failed with result %d\n",
|
||||||
|
__func__, retval);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int wacom_open(struct input_dev *dev)
|
static int wacom_open(struct input_dev *dev)
|
||||||
|
|
Loading…
Reference in New Issue