]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
greybus: #if 0 cleanups
authorGreg Kroah-Hartman <greg@kroah.com>
Tue, 28 Oct 2014 09:09:35 +0000 (17:09 +0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 28 Oct 2014 09:09:35 +0000 (17:09 +0800)
Remove some #if 0 chunks for the old-style greybus driver macros

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/gpio-gb.c
drivers/staging/greybus/i2c-gb.c

index 6ba1f633a4364436a753b5fa9f17524eda55f8f4..df7dbae85d6396667dab91f8c5526d54f1814ee3 100644 (file)
@@ -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
index 5d3e2f2061b003caa76f465cf909909b5e44d275..b26464a14b32c3f725d23965a5c4829c9c32b411 100644 (file)
@@ -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