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

video: Fix kernel-doc warnings in of_display_timing + of_videomode

Fix kernel-doc warnings reported when using W=1.

v3:
- Do not replace '-' with ':' (Thomas)

v2:
- Improve subject (Lee)

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: linux-fbdev@vger.kernel.org
Link: https://patchwork.freedesktop.org/patch/msgid/20201128224114.1033617-2-sam@ravnborg.org

+4 -3
+1
drivers/video/of_display_timing.c
··· 52 52 /** 53 53 * of_parse_display_timing - parse display_timing entry from device_node 54 54 * @np: device_node with the properties 55 + * @dt: display_timing that contains the result. I may be partially written in case of errors 55 56 **/ 56 57 static int of_parse_display_timing(const struct device_node *np, 57 58 struct display_timing *dt)
+3 -3
drivers/video/of_videomode.c
··· 14 14 15 15 /** 16 16 * of_get_videomode - get the videomode #<index> from devicetree 17 - * @np - devicenode with the display_timings 18 - * @vm - set to return value 19 - * @index - index into list of display_timings 17 + * @np: devicenode with the display_timings 18 + * @vm: set to return value 19 + * @index: index into list of display_timings 20 20 * (Set this to OF_USE_NATIVE_MODE to use whatever mode is 21 21 * specified as native mode in the DT.) 22 22 *