aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2016-05-02 13:11:52 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-05-03 17:11:15 -0400
commit5c69585837686e127762bd20658b18c14dfaf57c (patch)
treea93223fbf33c93229aa46fb31a6906045c47e4d3
parentb21f1fc84cb6ad217e5d450e217767f37ca1dee5 (diff)
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>
-rw-r--r--drivers/staging/comedi/drivers/mite.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/comedi/drivers/mite.c b/drivers/staging/comedi/drivers/mite.c
index 440090e87f2c..b1c0860135d0 100644
--- a/drivers/staging/comedi/drivers/mite.c
+++ b/drivers/staging/comedi/drivers/mite.c
@@ -945,12 +945,11 @@ static int __init mite_module_init(void)
945{ 945{
946 return 0; 946 return 0;
947} 947}
948module_init(mite_module_init);
948 949
949static void __exit mite_module_exit(void) 950static void __exit mite_module_exit(void)
950{ 951{
951} 952}
952
953module_init(mite_module_init);
954module_exit(mite_module_exit); 953module_exit(mite_module_exit);
955 954
956MODULE_AUTHOR("Comedi http://www.comedi.org"); 955MODULE_AUTHOR("Comedi http://www.comedi.org");