diff options
author | Andreas Dilger <andreas.dilger@intel.com> | 2016-02-26 11:36:05 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-01 19:19:17 -0800 |
commit | e0f9411344f2b3cc98583074e42f29846e13b071 (patch) | |
tree | 474d32062fa3f85363e119d51511d6887a010132 /drivers/staging/lustre/lnet/selftest/module.c | |
parent | 57878e17f90579210f0b0b9608cc5c90648c1e32 (diff) | |
download | linux-e0f9411344f2b3cc98583074e42f29846e13b071.tar.bz2 |
staging: lustre: make module_init/exit naming consistent
Make the name of the module_init()/_exit() functions consistently
{module_name}_init and {module_name}_exit.
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6204
Reviewed-on: http://review.whamcloud.com/16787
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Frank Zago <fzago@cray.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lnet/selftest/module.c')
-rw-r--r-- | drivers/staging/lustre/lnet/selftest/module.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/lustre/lnet/selftest/module.c b/drivers/staging/lustre/lnet/selftest/module.c index 05c1de164881..55082ce8b250 100644 --- a/drivers/staging/lustre/lnet/selftest/module.c +++ b/drivers/staging/lustre/lnet/selftest/module.c @@ -54,7 +54,7 @@ struct cfs_wi_sched *lst_sched_serial; struct cfs_wi_sched **lst_sched_test; static void -lnet_selftest_fini(void) +lnet_selftest_exit(void) { int i; @@ -144,7 +144,7 @@ lnet_selftest_init(void) lst_init_step = LST_INIT_CONSOLE; return 0; error: - lnet_selftest_fini(); + lnet_selftest_exit(); return rc; } @@ -154,4 +154,4 @@ MODULE_VERSION("2.7.0"); MODULE_LICENSE("GPL"); module_init(lnet_selftest_init); -module_exit(lnet_selftest_fini); +module_exit(lnet_selftest_exit); |