mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-12 05:24:12 +08:00
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:
parent
9ee2b61df1
commit
d71aaf288f
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user