summaryrefslogtreecommitdiffstats
path: root/drivers/input/tablet
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-02 02:56:51 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-02 02:56:51 +0200
commitb30662c4721ea77ca5930dd60f3294cd1413067f (patch)
tree9d1f73bc99755d7976a7e56210f7ed914f4fd817 /drivers/input/tablet
parentUSB: input: bcm5974.c: fix up dev_err() usage (diff)
downloadlinux-b30662c4721ea77ca5930dd60f3294cd1413067f.tar.xz
linux-b30662c4721ea77ca5930dd60f3294cd1413067f.zip
USB: input: acecad.c: fix up dev_err() usage
We should always reference the input device for dev_err(), not the USB device. Fix up the places where I got this wrong. Reported-by: 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/tablet/acecad.c b/drivers/input/tablet/acecad.c
index da6c34106190..a81a2b060284 100644
--- a/drivers/input/tablet/acecad.c
+++ b/drivers/input/tablet/acecad.c
@@ -105,7 +105,7 @@ static void usb_acecad_irq(struct urb *urb)
resubmit:
status = usb_submit_urb(urb, GFP_ATOMIC);
if (status)
- dev_err(&acecad->usbdev->dev,
+ dev_err(&dev->dev,
"can't resubmit intr, %s-%s/input0, status %d\n",
acecad->usbdev->bus->bus_name,
acecad->usbdev->devpath, status);