diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2020-11-28 23:40:47 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2020-11-29 22:42:17 +0100 |
commit | 891948966ba52d74e9446bb7d3dded971e54cf4f (patch) | |
tree | 63ed0bd0036d4ceea7c77cbe2c109395819d8d16 /drivers/video | |
parent | a218a397f00994035780292f41301a3bfd5ebb6c (diff) | |
download | linux-stable-891948966ba52d74e9446bb7d3dded971e54cf4f.tar.gz linux-stable-891948966ba52d74e9446bb7d3dded971e54cf4f.tar.bz2 linux-stable-891948966ba52d74e9446bb7d3dded971e54cf4f.zip |
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
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/of_display_timing.c | 1 | ||||
-rw-r--r-- | drivers/video/of_videomode.c | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/drivers/video/of_display_timing.c b/drivers/video/of_display_timing.c index abc9ada798ee..f93b6abbe258 100644 --- a/drivers/video/of_display_timing.c +++ b/drivers/video/of_display_timing.c @@ -52,6 +52,7 @@ static int parse_timing_property(const struct device_node *np, const char *name, /** * of_parse_display_timing - parse display_timing entry from device_node * @np: device_node with the properties + * @dt: display_timing that contains the result. I may be partially written in case of errors **/ static int of_parse_display_timing(const struct device_node *np, struct display_timing *dt) diff --git a/drivers/video/of_videomode.c b/drivers/video/of_videomode.c index 67aff2421c29..e7d10ffd3b66 100644 --- a/drivers/video/of_videomode.c +++ b/drivers/video/of_videomode.c @@ -14,9 +14,9 @@ /** * of_get_videomode - get the videomode #<index> from devicetree - * @np - devicenode with the display_timings - * @vm - set to return value - * @index - index into list of display_timings + * @np: devicenode with the display_timings + * @vm: set to return value + * @index: index into list of display_timings * (Set this to OF_USE_NATIVE_MODE to use whatever mode is * specified as native mode in the DT.) * |