Message ID | 20230507144807.193009-1-krzysztof.kozlowski@linaro.org |
---|---|
State | Accepted |
Commit | 8e84a8e69e3fa6aeb7720962f978bbd5a369c989 |
Headers | show |
Series | gpio: davinci: correct non-kerneldoc comment | expand |
On Sun, May 7, 2023 at 4:48 PM Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 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@linaro.org> > --- > 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
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. */
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@linaro.org> --- drivers/gpio/gpio-davinci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)