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;
|
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)
|
||||||
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");
|
||||||
|
|
Loading…
Reference in New Issue