greybus: protocol.h: macros should not have a trailing ';'
authorGreg Kroah-Hartman <gregkh@google.com>
Fri, 1 May 2015 19:05:50 +0000 (21:05 +0200)
committerGreg 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

index 82d9e81..d16a582 100644 (file)
@@ -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