diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2016-05-02 13:11:52 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-05-03 17:11:15 -0400 |
commit | 5c69585837686e127762bd20658b18c14dfaf57c (patch) | |
tree | a93223fbf33c93229aa46fb31a6906045c47e4d3 | |
parent | b21f1fc84cb6ad217e5d450e217767f37ca1dee5 (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.c | 3 |
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 | } |
948 | module_init(mite_module_init); | ||
948 | 949 | ||
949 | static void __exit mite_module_exit(void) | 950 | static void __exit mite_module_exit(void) |
950 | { | 951 | { |
951 | } | 952 | } |
952 | |||
953 | module_init(mite_module_init); | ||
954 | module_exit(mite_module_exit); | 953 | module_exit(mite_module_exit); |
955 | 954 | ||
956 | MODULE_AUTHOR("Comedi http://www.comedi.org"); | 955 | MODULE_AUTHOR("Comedi http://www.comedi.org"); |