summaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2009-10-01 16:03:13 +0200
committerJiri Kosina <jkosina@suse.cz>2009-10-01 16:03:13 +0200
commitff9b00a226ccea66e6ce70e9083c42f5b6001f73 (patch)
tree6a9c1446f0465f13ebb4fc6939e0df3edb9bd9fa /drivers/hid
parentHID: add __init/__exit macros to twinhan.c (diff)
downloadlinux-ff9b00a226ccea66e6ce70e9083c42f5b6001f73.tar.xz
linux-ff9b00a226ccea66e6ce70e9083c42f5b6001f73.zip
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>
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index be34d32906bd..7d05c4bb201e 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -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.
*/