提交 5c695858 编写于 作者: H H Hartley Sweeten 提交者: Greg Kroah-Hartman

staging: comedi: mite: tidy up module init/exit

Move the module_init()/module_exit() so they are in the prefered spot
on the line after the function.
Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: NIan Abbott <abbotti@mev.co.uk>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 b21f1fc8
...@@ -945,12 +945,11 @@ static int __init mite_module_init(void) ...@@ -945,12 +945,11 @@ static int __init mite_module_init(void)
{ {
return 0; return 0;
} }
module_init(mite_module_init);
static void __exit mite_module_exit(void) static void __exit mite_module_exit(void)
{ {
} }
module_init(mite_module_init);
module_exit(mite_module_exit); module_exit(mite_module_exit);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi http://www.comedi.org");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册