Skip to content

Commit 5abb544

Browse files
Lee Jonesbentiss
authored andcommitted
HID: hid-uclogic-params: Ensure function names are present and correct in kernel-doc headers
Fixes the following W=1 kernel build warning(s): drivers/hid/hid-uclogic-params.c:33: warning: expecting prototype for Convert a pen in(). Prototype was for uclogic_params_pen_inrange_to_str() instead drivers/hid/hid-uclogic-params.c:519: warning: wrong kernel-doc identifier on line: drivers/hid/hid-uclogic-params.c:706: warning: expecting prototype for uclogic_params_init(). Prototype was for uclogic_params_huion_init() instead Cc: Jiri Kosina <[email protected]> Cc: Benjamin Tissoires <[email protected]> Cc: [email protected] Signed-off-by: Lee Jones <[email protected]> Signed-off-by: Benjamin Tissoires <[email protected]>
1 parent a62ce11 commit 5abb544

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

drivers/hid/hid-uclogic-params.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
#include <asm/unaligned.h>
2222

2323
/**
24-
* Convert a pen in-range reporting type to a string.
24+
* uclogic_params_pen_inrange_to_str() - Convert a pen in-range reporting type
25+
* to a string.
2526
*
2627
* @inrange: The in-range reporting type to convert.
2728
*
@@ -516,7 +517,8 @@ void uclogic_params_cleanup(struct uclogic_params *params)
516517
}
517518

518519
/**
519-
* Get a replacement report descriptor for a tablet's interface.
520+
* uclogic_params_get_desc() - Get a replacement report descriptor for a
521+
* tablet's interface.
520522
*
521523
* @params: The parameters of a tablet interface to get report
522524
* descriptor for. Cannot be NULL.
@@ -689,7 +691,7 @@ static void uclogic_params_init_with_pen_unused(struct uclogic_params *params)
689691
}
690692

691693
/**
692-
* uclogic_params_init() - initialize a Huion tablet interface and discover
694+
* uclogic_params_huion_init() - initialize a Huion tablet interface and discover
693695
* its parameters.
694696
*
695697
* @params: Parameters to fill in (to be cleaned with

0 commit comments

Comments
 (0)