diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-01 20:57:00 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-01 20:57:00 -0400 |
commit | 88d5ab3a1817bcfe192ae79ef85ef3fb3e8c6669 (patch) | |
tree | 29a4562b749e2ef7912779e724e89b3ea2c4e5a7 /drivers/input/tablet/gtco.c | |
parent | 383c52f3388b5ddb2fbf1ec073081bc9c4bdfeff (diff) | |
download | op-kernel-dev-88d5ab3a1817bcfe192ae79ef85ef3fb3e8c6669.zip op-kernel-dev-88d5ab3a1817bcfe192ae79ef85ef3fb3e8c6669.tar.gz |
USB: input: gtco.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/gtco.c')
-rw-r--r-- | drivers/input/tablet/gtco.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/tablet/gtco.c b/drivers/input/tablet/gtco.c index fed555b..9372153 100644 --- a/drivers/input/tablet/gtco.c +++ b/drivers/input/tablet/gtco.c @@ -806,7 +806,7 @@ static void gtco_urb_callback(struct urb *urbinfo) resubmit: rc = usb_submit_urb(urbinfo, GFP_ATOMIC); if (rc != 0) - dev_err(&device->usbdev->dev, + dev_err(&inputdev->dev, "usb_submit_urb failed rc=0x%x\n", rc); } |