mfd: arizona-spi: Add lines after declarations - checkpatch catch
authorWill Sheppard <wsheppard@embedded-bits.co.uk>
Wed, 15 Oct 2014 08:38:47 +0000 (09:38 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 25 Nov 2014 16:18:45 +0000 (16:18 +0000)
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@embedded-bits.co.uk>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/arizona-spi.c

index 5145d78..8ef58bc 100644 (file)
@@ -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;
 }