aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-02 00:33:09 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-02 00:33:09 -0400
commiteeba1ae13cbddc6e9cbc4adcd0d9fd686ba09f5f (patch)
tree180a469d76c8f76d80702f5741ca7dd350082704 /drivers/input
parentbd028769f741b88dc06831bfe7edb181671758ea (diff)
USB: acecad.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')
-rw-r--r--drivers/input/tablet/acecad.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/input/tablet/acecad.c b/drivers/input/tablet/acecad.c
index a81a2b060284..baa9d4ad0d00 100644
--- a/drivers/input/tablet/acecad.c
+++ b/drivers/input/tablet/acecad.c
@@ -73,10 +73,12 @@ static void usb_acecad_irq(struct urb *urb)
73 case -ENOENT: 73 case -ENOENT:
74 case -ESHUTDOWN: 74 case -ESHUTDOWN:
75 /* this urb is terminated, clean up */ 75 /* this urb is terminated, clean up */
76 dbg("%s - urb shutting down with status: %d", __func__, urb->status); 76 dev_dbg(&dev->dev, "%s - urb shutting down with status: %d\n",
77 __func__, urb->status);
77 return; 78 return;
78 default: 79 default:
79 dbg("%s - nonzero urb status received: %d", __func__, urb->status); 80 dev_dbg(&dev->dev, "%s - nonzero urb status received: %d\n",
81 __func__, urb->status);
80 goto resubmit; 82 goto resubmit;
81 } 83 }
82 84