greybus: raw: move module_{init|exit} to the end of functions

This is what coding guidelines say. Lets do it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Viresh Kumar 2015-05-20 16:54:22 +05:30 committed by Greg Kroah-Hartman
parent c16b63e851
commit 8ba2522fa8

View File

@ -357,6 +357,7 @@ error_chrdev:
error_class:
return retval;
}
module_init(raw_init);
static void __exit raw_exit(void)
{
@ -364,8 +365,6 @@ static void __exit raw_exit(void)
unregister_chrdev_region(MKDEV(raw_major, 0), NUM_MINORS);
class_destroy(raw_class);
}
module_init(raw_init);
module_exit(raw_exit);
MODULE_LICENSE("GPL v2");