aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/usbhid
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-02 00:32:55 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-02 00:32:55 -0400
commit6cc203d77eb4a29a148ec598048ab1b97e83160c (patch)
treeefcf7b127e10d0a39b6eef9594fe2822130ea8ec /drivers/hid/usbhid
parentf576125dc872f28da2f89c29bfc73ec0ff02f7d9 (diff)
USB: hid-core.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: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hid/usbhid')
-rw-r--r--drivers/hid/usbhid/hid-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hid/usbhid/hid-core.c b/drivers/hid/usbhid/hid-core.c
index 4bbb883a3dd2..340d6ae646ed 100644
--- a/drivers/hid/usbhid/hid-core.c
+++ b/drivers/hid/usbhid/hid-core.c
@@ -203,7 +203,7 @@ static int usbhid_restart_out_queue(struct usbhid_device *usbhid)
203 return 0; 203 return 0;
204 204
205 if ((kicked = (usbhid->outhead != usbhid->outtail))) { 205 if ((kicked = (usbhid->outhead != usbhid->outtail))) {
206 dbg("Kicking head %d tail %d", usbhid->outhead, usbhid->outtail); 206 hid_dbg(hid, "Kicking head %d tail %d", usbhid->outhead, usbhid->outtail);
207 207
208 r = usb_autopm_get_interface_async(usbhid->intf); 208 r = usb_autopm_get_interface_async(usbhid->intf);
209 if (r < 0) 209 if (r < 0)
@@ -230,7 +230,7 @@ static int usbhid_restart_ctrl_queue(struct usbhid_device *usbhid)
230 return 0; 230 return 0;
231 231
232 if ((kicked = (usbhid->ctrlhead != usbhid->ctrltail))) { 232 if ((kicked = (usbhid->ctrlhead != usbhid->ctrltail))) {
233 dbg("Kicking head %d tail %d", usbhid->ctrlhead, usbhid->ctrltail); 233 hid_dbg(hid, "Kicking head %d tail %d", usbhid->ctrlhead, usbhid->ctrltail);
234 234
235 r = usb_autopm_get_interface_async(usbhid->intf); 235 r = usb_autopm_get_interface_async(usbhid->intf);
236 if (r < 0) 236 if (r < 0)