diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-02 00:33:20 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-02 00:33:20 -0400 |
commit | 6d0f7dcba6ea0d04fb0d1374188c2479abf7f951 (patch) | |
tree | fa56f24ffcfbd8932e36ca15aa04ab880a582068 /drivers/input/tablet/kbtab.c | |
parent | c6f880a7812766b896edcba51ac8a449ff5d4320 (diff) |
USB: kbtab.c: remove dbg() usage
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 <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/input/tablet/kbtab.c')
-rw-r--r-- | drivers/input/tablet/kbtab.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/input/tablet/kbtab.c b/drivers/input/tablet/kbtab.c index be717d758cb2..a39d1761a6cb 100644 --- a/drivers/input/tablet/kbtab.c +++ b/drivers/input/tablet/kbtab.c | |||
@@ -53,10 +53,12 @@ static void kbtab_irq(struct urb *urb) | |||
53 | case -ENOENT: | 53 | case -ENOENT: |
54 | case -ESHUTDOWN: | 54 | case -ESHUTDOWN: |
55 | /* this urb is terminated, clean up */ | 55 | /* this urb is terminated, clean up */ |
56 | dbg("%s - urb shutting down with status: %d", __func__, urb->status); | 56 | dev_dbg(&dev->dev, "%s - urb shutting down with status: %d\n", |
57 | __func__, urb->status); | ||
57 | return; | 58 | return; |
58 | default: | 59 | default: |
59 | dbg("%s - nonzero urb status received: %d", __func__, urb->status); | 60 | dev_dbg(&dev->dev, "%s - nonzero urb status received: %d\n", |
61 | __func__, urb->status); | ||
60 | goto exit; | 62 | goto exit; |
61 | } | 63 | } |
62 | 64 | ||