summaryrefslogtreecommitdiff
path: root/drivers/usb/misc
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-02 08:33:58 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-02 08:33:58 +0400
commita341c6b29503d1326e7ada1dfa5515b53a5f6276 (patch)
tree4c9f9f1a33ff3a85892e018bce545f85e2b82c0a /drivers/usb/misc
parent0a3fd536e685e0ceb646de1a43821bd11c0be75c (diff)
downloadlinux-a341c6b29503d1326e7ada1dfa5515b53a5f6276.tar.xz
USB: idmouse.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: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> CC: Sarah Sharp <sarah.a.sharp@linux.intel.com> CC: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/misc')
-rw-r--r--drivers/usb/misc/idmouse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/misc/idmouse.c b/drivers/usb/misc/idmouse.c
index c00fcd74d39d..ce978384fda1 100644
--- a/drivers/usb/misc/idmouse.c
+++ b/drivers/usb/misc/idmouse.c
@@ -200,7 +200,8 @@ reset:
return -EAGAIN;
/* should be IMGSIZE == 65040 */
- dbg("read %d bytes fingerprint data", bytes_read);
+ dev_dbg(&dev->interface->dev, "read %d bytes fingerprint data\n",
+ bytes_read);
return result;
}