diff options
author | Will Sheppard <wsheppard@embedded-bits.co.uk> | 2014-10-15 09:38:47 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-11-25 16:18:45 +0000 |
commit | 6f467e5f0cdc3c0304bfcabcbaf56970ddea3d52 (patch) | |
tree | b73fa8c6801fe63cb4326258f477c850bf2fbb21 /drivers/mfd/arizona-spi.c | |
parent | 6cbac55368324ec2a0e59e192c5b596d0f4569f7 (diff) | |
download | op-kernel-dev-6f467e5f0cdc3c0304bfcabcbaf56970ddea3d52.zip op-kernel-dev-6f467e5f0cdc3c0304bfcabcbaf56970ddea3d52.tar.gz |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |