Re: [PATCH] gpio: davinci: correct non-kerneldoc comment

From: Bartosz Golaszewski
Date: Thu May 11 2023 - 05:07:15 EST


On Sun, May 7, 2023 at 4:48 PM Krzysztof Kozlowski
<krzysztof.kozlowski@xxxxxxxxxx> wrote:
>
> Drop kerneldoc annotation from regular comment to fix:
>
> gpio-davinci.c:716: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> ---
> drivers/gpio/gpio-davinci.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c
> index aaaf61dc2632..3063e57a4174 100644
> --- a/drivers/gpio/gpio-davinci.c
> +++ b/drivers/gpio/gpio-davinci.c
> @@ -712,7 +712,7 @@ static struct platform_driver davinci_gpio_driver = {
> },
> };
>
> -/**
> +/*
> * GPIO driver registration needs to be done before machine_init functions
> * access GPIO. Hence davinci_gpio_drv_reg() is a postcore_initcall.
> */
> --
> 2.34.1
>

Applied, thanks!

Bart