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:
c6f880a
)
USB: kbtab.c: remove dbg() usage
author
Greg Kroah-Hartman
<
[email protected]
>
Wed, 2 May 2012 04:33:20 +0000
(21:33 -0700)
committer
Greg Kroah-Hartman
<
[email protected]
>
Wed, 2 May 2012 04:33:20 +0000
(21:33 -0700)
dbg() was a very old USB-specific macro that should no longer
be used. This patch removes it from being used in the driver
and uses dev_dbg() instead.
CC: Dmitry Torokhov <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/input/tablet/kbtab.c
patch
|
blob
|
history
diff --git
a/drivers/input/tablet/kbtab.c
b/drivers/input/tablet/kbtab.c
index be717d758cb25a2c894ecf893e875396f30e0657..a39d1761a6cb771a91e0871244c9d9947aa3a3e1 100644
(file)
--- a/
drivers/input/tablet/kbtab.c
+++ b/
drivers/input/tablet/kbtab.c
@@
-53,10
+53,12
@@
static void kbtab_irq(struct urb *urb)
case -ENOENT:
case -ESHUTDOWN:
/* this urb is terminated, clean up */
- dbg("%s - urb shutting down with status: %d", __func__, urb->status);
+ dev_dbg(&dev->dev, "%s - urb shutting down with status: %d\n",
+ __func__, urb->status);
return;
default:
- dbg("%s - nonzero urb status received: %d", __func__, urb->status);
+ dev_dbg(&dev->dev, "%s - nonzero urb status received: %d\n",
+ __func__, urb->status);
goto exit;
}