aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorStefan Achatz <erazor_de@users.sourceforge.net>2013-03-10 07:33:04 -0400
committerJiri Kosina <jkosina@suse.cz>2013-03-14 06:50:49 -0400
commit02060045cd93b886381b02ec816e312f19d5e505 (patch)
tree77e4a791fbeabdb520c111d01696e7e2878cc3a7 /drivers/hid
parentce7169652532a95bebbf2f02cd330a4e66f171ae (diff)
HID: roccat: fix comments on chardevice
Fixed parameter documentation. Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-roccat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-roccat.c b/drivers/hid/hid-roccat.c
index d7437ef5c695..b59b3df9ca95 100644
--- a/drivers/hid/hid-roccat.c
+++ b/drivers/hid/hid-roccat.c
@@ -242,7 +242,6 @@ static int roccat_release(struct inode *inode, struct file *file)
242 * roccat_report_event() - output data to readers 242 * roccat_report_event() - output data to readers
243 * @minor: minor device number returned by roccat_connect() 243 * @minor: minor device number returned by roccat_connect()
244 * @data: pointer to data 244 * @data: pointer to data
245 * @len: size of data
246 * 245 *
247 * Return value is zero on success, a negative error code on failure. 246 * Return value is zero on success, a negative error code on failure.
248 * 247 *
@@ -290,6 +289,7 @@ EXPORT_SYMBOL_GPL(roccat_report_event);
290 * @class: the class thats used to create the device. Meant to hold device 289 * @class: the class thats used to create the device. Meant to hold device
291 * specific sysfs attributes. 290 * specific sysfs attributes.
292 * @hid: the hid device the char device should be connected to. 291 * @hid: the hid device the char device should be connected to.
292 * @report_size: size of reports
293 * 293 *
294 * Return value is minor device number in Range [0, ROCCAT_MAX_DEVICES] on 294 * Return value is minor device number in Range [0, ROCCAT_MAX_DEVICES] on
295 * success, a negative error code on failure. 295 * success, a negative error code on failure.