Ver código fonte

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: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
H Hartley Sweeten 9 anos atrás
pai
commit
5c69585837
1 arquivos alterados com 1 adições e 2 exclusões
  1. 1 2
      drivers/staging/comedi/drivers/mite.c

+ 1 - 2
drivers/staging/comedi/drivers/mite.c

@@ -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");