Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <jikos@kernel.org>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: linux-input@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>

authored by

Lee Jones and committed by
Benjamin Tissoires
5abb5445 a62ce117

+5 -3
+5 -3
drivers/hid/hid-uclogic-params.c
··· 21 21 #include <asm/unaligned.h> 22 22 23 23 /** 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. 25 26 * 26 27 * @inrange: The in-range reporting type to convert. 27 28 * ··· 517 516 } 518 517 519 518 /** 520 - * Get a replacement report descriptor for a tablet's interface. 519 + * uclogic_params_get_desc() - Get a replacement report descriptor for a 520 + * tablet's interface. 521 521 * 522 522 * @params: The parameters of a tablet interface to get report 523 523 * descriptor for. Cannot be NULL. ··· 691 689 } 692 690 693 691 /** 694 - * uclogic_params_init() - initialize a Huion tablet interface and discover 692 + * uclogic_params_huion_init() - initialize a Huion tablet interface and discover 695 693 * its parameters. 696 694 * 697 695 * @params: Parameters to fill in (to be cleaned with