summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Sheppard <wsheppard@embedded-bits.co.uk>2014-10-15 09:38:47 +0100
committerLee Jones <lee.jones@linaro.org>2014-11-25 16:18:45 +0000
commit6f467e5f0cdc3c0304bfcabcbaf56970ddea3d52 (patch)
treeb73fa8c6801fe63cb4326258f477c850bf2fbb21
parent6cbac55368324ec2a0e59e192c5b596d0f4569f7 (diff)
downloadop-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>
-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 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;
}
OpenPOWER on IntegriCloud