diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-01 20:56:51 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-01 20:56:51 -0400 |
commit | b30662c4721ea77ca5930dd60f3294cd1413067f (patch) | |
tree | 9d1f73bc99755d7976a7e56210f7ed914f4fd817 | |
parent | 140b1230a19b65489317271da36465e42865f2e4 (diff) |
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>
-rw-r--r-- | drivers/input/tablet/acecad.c | 2 |
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) | |||
105 | resubmit: | 105 | resubmit: |
106 | status = usb_submit_urb(urb, GFP_ATOMIC); | 106 | status = usb_submit_urb(urb, GFP_ATOMIC); |
107 | if (status) | 107 | if (status) |
108 | dev_err(&acecad->usbdev->dev, | 108 | dev_err(&dev->dev, |
109 | "can't resubmit intr, %s-%s/input0, status %d\n", | 109 | "can't resubmit intr, %s-%s/input0, status %d\n", |
110 | acecad->usbdev->bus->bus_name, | 110 | acecad->usbdev->bus->bus_name, |
111 | acecad->usbdev->devpath, status); | 111 | acecad->usbdev->devpath, status); |