Re: [PATCH] mfd: arizona-spi: Add lines after declarations - checkpatch catch

From: Lee Jones
Date: Wed Oct 15 2014 - 05:04:21 EST


On Wed, 15 Oct 2014, Will Sheppard wrote:

> This was found whilst running checkpatch.pl on arizona-spi.
>
> WARNING: Missing a blank line after declarations
> + struct arizona *arizona = spi_get_drvdata(spi);
> + arizona_dev_exit(arizona);
>
> Signed-off-by: Will Sheppard <wsheppard@xxxxxxxxxxxxxxxxxxx>
> ---
> drivers/mfd/arizona-spi.c | 2 ++
> 1 file changed, 2 insertions(+)

Applied for v3.19.

> diff --git a/drivers/mfd/arizona-spi.c b/drivers/mfd/arizona-spi.c
> index 5145d78..8ef58bc 100644
> --- a/drivers/mfd/arizona-spi.c
> +++ b/drivers/mfd/arizona-spi.c
> @@ -75,7 +75,9 @@ static int arizona_spi_probe(struct spi_device *spi)
> static int arizona_spi_remove(struct spi_device *spi)
> {
> struct arizona *arizona = spi_get_drvdata(spi);
> +
> arizona_dev_exit(arizona);
> +
> return 0;
> }
>

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/