[PATCH v2 05/14] spi: spi-meson-spifc: Fix misdocumenting of 'dev' in 'struct meson_spifc'
Neil Armstrong
narmstrong at baylibre.com
Tue Jul 21 04:00:59 EDT 2020
On 17/07/2020 15:54, Lee Jones wrote:
> Fixes the following W=1 kernel build warning(s):
>
> drivers/spi/spi-meson-spifc.c:80: warning: Function parameter or member 'dev' not described in 'meson_spifc'
>
> Cc: Kevin Hilman <khilman at baylibre.com>
> Cc: Beniamino Galvani <b.galvani at gmail.com>
> Cc: linux-amlogic at lists.infradead.org
> Signed-off-by: Lee Jones <lee.jones at linaro.org>
> ---
> drivers/spi/spi-meson-spifc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/spi/spi-meson-spifc.c b/drivers/spi/spi-meson-spifc.c
> index c7b0399802913..8eca6f24cb799 100644
> --- a/drivers/spi/spi-meson-spifc.c
> +++ b/drivers/spi/spi-meson-spifc.c
> @@ -70,7 +70,7 @@
> * @master: the SPI master
> * @regmap: regmap for device registers
> * @clk: input clock of the built-in baud rate generator
> - * @device: the device structure
> + * @dev: the device structure
> */
> struct meson_spifc {
> struct spi_master *master;
>
Acked-by: Neil Armstrong <narmstrong at baylibre.com>
More information about the linux-amlogic
mailing list