projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b30662c
)
USB: input: aiptek.c: fix up dev_err() usage
author
Greg Kroah-Hartman
<
[email protected]
>
Wed, 2 May 2012 00:56:56 +0000
(20:56 -0400)
committer
Greg Kroah-Hartman
<
[email protected]
>
Wed, 2 May 2012 00:56:56 +0000
(20:56 -0400)
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 <
[email protected]
>
CC: Jesper Juhl <
[email protected]
>
CC: JJ Ding <
[email protected]
>
CC: Edwin van Vliet <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/input/tablet/aiptek.c
patch
|
blob
|
history
diff --git
a/drivers/input/tablet/aiptek.c
b/drivers/input/tablet/aiptek.c
index b8d43eb3c8f1b9049683ca3c174d99105026f5d6..dc16bfd247382045e5df29f6811fbf42c97f79e8 100644
(file)
--- a/
drivers/input/tablet/aiptek.c
+++ b/
drivers/input/tablet/aiptek.c
@@
-811,7
+811,7
@@
static void aiptek_irq(struct urb *urb)
exit:
retval = usb_submit_urb(urb, GFP_ATOMIC);
if (retval != 0) {
- dev_err(&
aiptek->usb
dev->dev,
+ dev_err(&
input
dev->dev,
"%s - usb_submit_urb failed with result %d\n",
__func__, retval);
}