2021-01-01 21:22:03

by J. Neuschäfer

[permalink] [raw]
Subject: [PATCH] drm/mipi-dbi: Switch to new kerneldoc syntax for named variable macro argument

The syntax without dots is available since commit 43756e347f21
("scripts/kernel-doc: Add support for named variable macro arguments").

The same HTML output is produced with and without this patch.

Signed-off-by: Jonathan Neuschäfer <[email protected]>
---
include/drm/drm_mipi_dbi.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/drm/drm_mipi_dbi.h b/include/drm/drm_mipi_dbi.h
index c2827ceaba0d2..f543d6e3e822c 100644
--- a/include/drm/drm_mipi_dbi.h
+++ b/include/drm/drm_mipi_dbi.h
@@ -172,7 +172,7 @@ int mipi_dbi_buf_copy(void *dst, struct drm_framebuffer *fb,
* mipi_dbi_command - MIPI DCS command with optional parameter(s)
* @dbi: MIPI DBI structure
* @cmd: Command
- * @seq...: Optional parameter(s)
+ * @seq: Optional parameter(s)
*
* Send MIPI DCS command to the controller. Use mipi_dbi_command_read() for
* get/read.
--
2.29.2


2021-01-07 17:49:57

by Daniel Vetter

[permalink] [raw]
Subject: Re: [PATCH] drm/mipi-dbi: Switch to new kerneldoc syntax for named variable macro argument

On Fri, Jan 01, 2021 at 10:18:17PM +0100, Jonathan Neusch?fer wrote:
> The syntax without dots is available since commit 43756e347f21
> ("scripts/kernel-doc: Add support for named variable macro arguments").
>
> The same HTML output is produced with and without this patch.
>
> Signed-off-by: Jonathan Neusch?fer <[email protected]>

Applied to drm-misc-next, thanks for your patch.
-Daniel

> ---
> include/drm/drm_mipi_dbi.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/drm/drm_mipi_dbi.h b/include/drm/drm_mipi_dbi.h
> index c2827ceaba0d2..f543d6e3e822c 100644
> --- a/include/drm/drm_mipi_dbi.h
> +++ b/include/drm/drm_mipi_dbi.h
> @@ -172,7 +172,7 @@ int mipi_dbi_buf_copy(void *dst, struct drm_framebuffer *fb,
> * mipi_dbi_command - MIPI DCS command with optional parameter(s)
> * @dbi: MIPI DBI structure
> * @cmd: Command
> - * @seq...: Optional parameter(s)
> + * @seq: Optional parameter(s)
> *
> * Send MIPI DCS command to the controller. Use mipi_dbi_command_read() for
> * get/read.
> --
> 2.29.2
>

--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch