summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/arizona-spi.c
diff options
context:
space:
mode:
authorWill Sheppard <wsheppard@embedded-bits.co.uk>2014-10-15 10:38:47 +0200
committerLee Jones <lee.jones@linaro.org>2014-11-25 17:18:45 +0100
commit6f467e5f0cdc3c0304bfcabcbaf56970ddea3d52 (patch)
treeb73fa8c6801fe63cb4326258f477c850bf2fbb21 /drivers/mfd/arizona-spi.c
parentmfd: max77693: Remove unused define (diff)
downloadlinux-6f467e5f0cdc3c0304bfcabcbaf56970ddea3d52.tar.xz
linux-6f467e5f0cdc3c0304bfcabcbaf56970ddea3d52.zip
mfd: arizona-spi: Add lines after declarations - checkpatch catch
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>
Diffstat (limited to 'drivers/mfd/arizona-spi.c')
-rw-r--r--drivers/mfd/arizona-spi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/arizona-spi.c b/drivers/mfd/arizona-spi.c
index 5145d78bf07e..8ef58bcff193 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;
}