summaryrefslogtreecommitdiffstats
path: root/drivers/input/tablet
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-25 14:48:34 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-25 14:48:34 -0700
commitb59c82bd6f9d60dd09dd2c696fb1894802ae3e33 (patch)
tree81e4c2e1b6fc3c2fe20a3d27a8499564bd31a005 /drivers/input/tablet
parent6c1d1b246199c75486f5ffa677cf0e411ce4ac6e (diff)
downloadblackbird-op-linux-b59c82bd6f9d60dd09dd2c696fb1894802ae3e33.tar.gz
blackbird-op-linux-b59c82bd6f9d60dd09dd2c696fb1894802ae3e33.zip
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>
Diffstat (limited to 'drivers/input/tablet')
-rw-r--r--drivers/input/tablet/acecad.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/input/tablet/acecad.c b/drivers/input/tablet/acecad.c
index f8b0b1df9138..da6c34106190 100644
--- a/drivers/input/tablet/acecad.c
+++ b/drivers/input/tablet/acecad.c
@@ -105,8 +105,10 @@ static void usb_acecad_irq(struct urb *urb)
resubmit:
status = usb_submit_urb(urb, GFP_ATOMIC);
if (status)
- err("can't resubmit intr, %s-%s/input0, status %d",
- acecad->usbdev->bus->bus_name, acecad->usbdev->devpath, status);
+ dev_err(&acecad->usbdev->dev,
+ "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)
OpenPOWER on IntegriCloud