Commit:     fdc9c566161c119febe4fab0f7c382416681fd8f
Parent:     9fa2ad5ff4d8ded8c29c7b6cc92a1c3a8d8a2079
Author:     Jiri Kosina <[EMAIL PROTECTED]>
AuthorDate: Mon Feb 19 14:15:59 2007 +0100
Committer:  Jiri Kosina <[EMAIL PROTECTED]>
CommitDate: Thu Mar 1 09:52:38 2007 +0100

    USB HID: use CONFIG_HID_DEBUG for outputting report descriptor
    Report descriptor should be output when CONFIG_HID_DEBUG is defined.
    This also mitigates the need for DEBUG and DEBUG_DATA defines, so let's
    remove them.
    Signed-off-by: Jiri Kosina <[EMAIL PROTECTED]>
 drivers/usb/input/hid-core.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/drivers/usb/input/hid-core.c b/drivers/usb/input/hid-core.c
index 905156c..378af7a 100644
--- a/drivers/usb/input/hid-core.c
+++ b/drivers/usb/input/hid-core.c
@@ -27,9 +27,6 @@
 #include <linux/input.h>
 #include <linux/wait.h>
-#undef DEBUG
-#undef DEBUG_DATA
 #include <linux/usb.h>
 #include <linux/hid.h>
@@ -1109,7 +1106,7 @@ static struct hid_device *usb_hid_configure(struct 
usb_interface *intf)
        if ((quirks & HID_QUIRK_CYMOTION))
                hid_fixup_cymotion_descriptor(rdesc, rsize);
-#ifdef DEBUG_DATA
        printk(KERN_DEBUG __FILE__ ": report descriptor (size %u, read %d) = ", 
rsize, n);
        for (n = 0; n < rsize; n++)
                printk(" %02x", (unsigned char) rdesc[n]);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to