浏览代码

HID: fix kerneldoc comment for hid_input_report()

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>
Jiri Kosina 15 年之前
父节点
当前提交
ff9b00a226
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/hid/hid-core.c

+ 1 - 1
drivers/hid/hid-core.c

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