From d71aaf288f7e79e7c7ed9893a1b4e28221d1b8d0 Mon Sep 17 00:00:00 2001 From: Viresh Kumar Date: Thu, 19 Mar 2015 17:02:49 +0530 Subject: [PATCH] greybus: core: place module_{init|exit}() right below the routines To follow coding guidelines a bit :) Signed-off-by: Viresh Kumar Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/greybus/core.c b/drivers/staging/greybus/core.c index ee8bba59faab..15408ec61dc3 100644 --- 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");