Jelajahi Sumber

HID: Remove KERN_DEBUG from dbg_hid use

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Joe Perches 14 tahun lalu
induk
melakukan
587d145200
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      drivers/hid/hid-input.c

+ 2 - 1
drivers/hid/hid-input.c

@@ -136,7 +136,8 @@ static int hidinput_setkeycode(struct input_dev *dev,
 
 
 		clear_bit(old_keycode, dev->keybit);
 		clear_bit(old_keycode, dev->keybit);
 		set_bit(usage->code, dev->keybit);
 		set_bit(usage->code, dev->keybit);
-		dbg_hid(KERN_DEBUG "Assigned keycode %d to HID usage code %x\n", keycode, scancode);
+		dbg_hid("Assigned keycode %d to HID usage code %x\n",
+				keycode, scancode);
 		/* Set the keybit for the old keycode if the old keycode is used
 		/* Set the keybit for the old keycode if the old keycode is used
 		 * by another key */
 		 * by another key */
 		if (hidinput_find_key (hid, 0, old_keycode))
 		if (hidinput_find_key (hid, 0, old_keycode))