HID: fix kerneldoc comment for hid_input_report()
authorJiri Kosina <jkosina@suse.cz>
Thu, 1 Oct 2009 14:03:13 +0000 (16:03 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 1 Oct 2009 14:03:13 +0000 (16:03 +0200)
The kerneldoc comment for 'interrupt' has already confused a lot
of people, as it is simply wrong. It doesn't carry the information
about the context, but is used to distinguish between two fundamental
types of low-level transport transfers -- interrupt vs. control.

Make this clear in the comment.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c

index be34d32..7d05c4b 100644 (file)
@@ -1066,7 +1066,7 @@ EXPORT_SYMBOL_GPL(hid_report_raw_event);
  * @type: HID report type (HID_*_REPORT)
  * @data: report contents
  * @size: size of data parameter
- * @interrupt: called from atomic?
+ * @interrupt: distinguish between interrupt and control transfers
  *
  * This is data entry for lower layers.
  */