projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdd6dee
)
staging: iio: resolver: use blank line after array declaration
author
Eva Rachel Retuya
<
[email protected]
>
Thu, 18 Feb 2016 10:59:35 +0000
(18:59 +0800)
committer
Greg Kroah-Hartman
<
[email protected]
>
Sat, 20 Feb 2016 22:46:35 +0000
(14:46 -0800)
Add a blank line after array declaration. This clears the checkpatch
check:
CHECK: Please use a blank line after function/struct/union/enum
declarations
Signed-off-by: Eva Rachel Retuya <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/iio/resolver/ad2s1210.c
patch
|
blob
|
history
diff --git
a/drivers/staging/iio/resolver/ad2s1210.c
b/drivers/staging/iio/resolver/ad2s1210.c
index f2a3463ad8c13685b62ba978a6c8edfd0d4cb4ea..4cf5e4144448d80c729396ebf7155a31f7fafea5 100644
(file)
--- a/
drivers/staging/iio/resolver/ad2s1210.c
+++ b/
drivers/staging/iio/resolver/ad2s1210.c
@@
-98,6
+98,7
@@
static const int ad2s1210_mode_vals[4][2] = {
[MOD_VEL] = { 0, 1 },
[MOD_CONFIG] = { 1, 0 },
};
+
static inline void ad2s1210_set_mode(enum ad2s1210_mode mode,
struct ad2s1210_state *st)
{