[PATCH 01/10] gpio: gpiolib-of: Provide documentation for of_gpio_spi_cs_get_count()

Linus Walleij linus.walleij at linaro.org
Wed Jul 8 03:14:21 EDT 2020


On Tue, Jun 30, 2020 at 3:33 PM Lee Jones <lee.jones at linaro.org> wrote:

> Descriptions for of_gpio_spi_cs_get_count()'s 2 arguments are
> missing.  Document both 'dev' and 'con_id'.
>
> Fixes the following W=1 kernel build warnings:
>
>  drivers/gpio/gpiolib-of.c:36: warning: Function parameter or member 'dev' not described in 'of_gpio_spi_cs_get_count'
>  drivers/gpio/gpiolib-of.c:36: warning: Function parameter or member 'con_id' not described in 'of_gpio_spi_cs_get_count'
>
> Cc: Anton Vorontsov <avorontsov at ru.mvista.com>
> Signed-off-by: Lee Jones <lee.jones at linaro.org>

Patch applied!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list