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

To follow coding guidelines a bit :)

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
This commit is contained in:
Viresh Kumar 2015-03-19 17:02:49 +05:30 committed by Greg Kroah-Hartman
parent 9ee2b61df1
commit d71aaf288f
1 changed files with 1 additions and 2 deletions

View File

@ -244,6 +244,7 @@ error_bus:
return retval;
}
module_init(gb_init);
static void __exit gb_exit(void)
{
@ -252,8 +253,6 @@ static void __exit gb_exit(void)
bus_unregister(&greybus_bus_type);
gb_debugfs_cleanup();
}
module_init(gb_init);
module_exit(gb_exit);
MODULE_LICENSE("GPL");