Skip to content

Commit ca43ab1

Browse files
Xiaofei TanJiri Kosina
authored andcommitted
HID: i2c-hid: fix kerneldoc warnings in i2c-hid-core.c
Fix following warnings caused by mismatch bewteen function parameters and comments. drivers/hid/i2c-hid/i2c-hid-core.c:331: warning: Function parameter or member 'data_len' not described in 'i2c_hid_set_or_send_report' drivers/hid/i2c-hid/i2c-hid-core.c:331: warning: Excess function parameter 'len' description in 'i2c_hid_set_or_send_report' Signed-off-by: Xiaofei Tan <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 5f94e9c commit ca43ab1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hid/i2c-hid/i2c-hid-core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ static int i2c_hid_get_report(struct i2c_client *client, u8 reportType,
323323
* @reportType: 0x03 for HID_FEATURE_REPORT ; 0x02 for HID_OUTPUT_REPORT
324324
* @reportID: the report ID
325325
* @buf: the actual data to transfer, without the report ID
326-
* @len: size of buf
326+
* @data_len: size of buf
327327
* @use_data: true: use SET_REPORT HID command, false: send plain OUTPUT report
328328
*/
329329
static int i2c_hid_set_or_send_report(struct i2c_client *client, u8 reportType,

0 commit comments

Comments
 (0)