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:
63ca78b
)
greybus: protocol.h: macros should not have a trailing ';'
author
Greg Kroah-Hartman
<gregkh@google.com>
Fri, 1 May 2015 19:05:50 +0000
(21:05 +0200)
committer
Greg Kroah-Hartman
<gregkh@google.com>
Tue, 5 May 2015 09:11:03 +0000
(11:11 +0200)
Remove the trailing ';' character from the gb_protocol_driver() macro as
it's not needed and is bad coding style.
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/staging/greybus/protocol.h
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/protocol.h
b/drivers/staging/greybus/protocol.h
index 82d9e81386e3eae5609e6d1c78c58a3451e5cbe3..d16a582d571a6ea15f1f21c90cabf1858f1bd30c 100644
(file)
--- a/
drivers/staging/greybus/protocol.h
+++ b/
drivers/staging/greybus/protocol.h
@@
-97,7
+97,7
@@
static void __exit protocol_exit(void) \
{ \
gb_protocol_deregister(__protocol); \
} \
-module_exit(protocol_exit)
;
+module_exit(protocol_exit)
/*
* Macro to create get_version() routine for protocols