From: Greg Kroah-Hartman <greg@kroah.com>
Date: Tue, 28 Oct 2014 09:09:35 +0000 (+0800)
Subject: greybus:  #if 0 cleanups
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c7a90cb5990313b61cfe5cba859ce34d537075b6;p=linux.git

greybus:  #if 0 cleanups

Remove some #if 0 chunks for the old-style greybus driver macros

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
---

diff --git a/drivers/staging/greybus/gpio-gb.c b/drivers/staging/greybus/gpio-gb.c
index 6ba1f633a4364..df7dbae85d639 100644
--- a/drivers/staging/greybus/gpio-gb.c
+++ b/drivers/staging/greybus/gpio-gb.c
@@ -796,9 +796,3 @@ struct gb_connection_handler gb_gpio_connection_handler = {
 	.connection_init	= gb_gpio_connection_init,
 	.connection_exit	= gb_gpio_connection_exit,
 };
-
-#if 0
-MODULE_LICENSE("GPL");
-MODULE_DESCRIPTION("Greybus GPIO driver");
-MODULE_AUTHOR("Greg Kroah-Hartman <gregkh@linuxfoundation.org>");
-#endif
diff --git a/drivers/staging/greybus/i2c-gb.c b/drivers/staging/greybus/i2c-gb.c
index 5d3e2f2061b00..b26464a14b32c 100644
--- a/drivers/staging/greybus/i2c-gb.c
+++ b/drivers/staging/greybus/i2c-gb.c
@@ -522,9 +522,3 @@ struct gb_connection_handler gb_i2c_connection_handler = {
 	.connection_init	= gb_i2c_connection_init,
 	.connection_exit	= gb_i2c_connection_exit,
 };
-
-#if 0
-module_greybus_driver(i2c_gb_driver);
-MODULE_LICENSE("GPL");
-MODULE_AUTHOR("Greg Kroah-Hartman <gregkh@linuxfoundation.org>");
-#endif