Commit d71aaf28 authored by Viresh Kumar's avatar Viresh Kumar Committed by Greg Kroah-Hartman

greybus: core: place module_{init|exit}() right below the routines

To follow coding guidelines a bit :)
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 9ee2b61d
...@@ -244,6 +244,7 @@ static int __init gb_init(void) ...@@ -244,6 +244,7 @@ static int __init gb_init(void)
return retval; return retval;
} }
module_init(gb_init);
static void __exit gb_exit(void) static void __exit gb_exit(void)
{ {
...@@ -252,8 +253,6 @@ static void __exit gb_exit(void) ...@@ -252,8 +253,6 @@ static void __exit gb_exit(void)
bus_unregister(&greybus_bus_type); bus_unregister(&greybus_bus_type);
gb_debugfs_cleanup(); gb_debugfs_cleanup();
} }
module_init(gb_init);
module_exit(gb_exit); module_exit(gb_exit);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment