projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cbac55
)
mfd: arizona-spi: Add lines after declarations - checkpatch catch
author
Will Sheppard
<wsheppard@embedded-bits.co.uk>
Wed, 15 Oct 2014 08:38:47 +0000
(09:38 +0100)
committer
Lee 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
patch
|
blob
|
history
diff --git
a/drivers/mfd/arizona-spi.c
b/drivers/mfd/arizona-spi.c
index
5145d78
..
8ef58bc
100644
(file)
--- 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;
}