From: Yang Li Date: Sun, 3 Mar 2024 23:02:08 +0000 (-0800) Subject: Input: xilinx_ps2 - fix kernel-doc for xps2_of_probe function X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=d49193be636ab2b6e35727541bbdcdc1eab2d676;p=users%2Fjedix%2Flinux-maple.git Input: xilinx_ps2 - fix kernel-doc for xps2_of_probe function The existing comment block above the xps2_of_probe function does not conform to the kernel-doc standard. This patch fixes the documentation to match the expected kernel-doc format, which includes a structured documentation header with param and return value. Signed-off-by: Yang Li Reviewed-by: Michal Simek Link: https://lore.kernel.org/r/20240301092115.123092-1-yang.lee@linux.alibaba.com Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/serio/xilinx_ps2.c b/drivers/input/serio/xilinx_ps2.c index d8f9faf2b529..bb758346a33d 100644 --- a/drivers/input/serio/xilinx_ps2.c +++ b/drivers/input/serio/xilinx_ps2.c @@ -219,8 +219,7 @@ static void sxps2_close(struct serio *pserio) /** * xps2_of_probe - probe method for the PS/2 device. - * @of_dev: pointer to OF device structure - * @match: pointer to the structure used for matching a device + * @ofdev: pointer to OF device structure * * This function probes the PS/2 device in the device tree. * It initializes the driver data structure and the hardware.