projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ee2b61
)
greybus: core: place module_{init|exit}() right below the routines
author
Viresh Kumar
<viresh.kumar@linaro.org>
Thu, 19 Mar 2015 11:32:49 +0000
(17:02 +0530)
committer
Greg Kroah-Hartman
<greg@kroah.com>
Thu, 19 Mar 2015 14:02:28 +0000
(15:02 +0100)
To follow coding guidelines a bit :)
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/greybus/core.c
b/drivers/staging/greybus/core.c
index ee8bba59faab6430f0a3665ec534e20947443e9b..15408ec61dc3d46f89fc65736d453285d4fcdc5c 100644
(file)
--- a/
drivers/staging/greybus/core.c
+++ b/
drivers/staging/greybus/core.c
@@
-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");