Commit 8ba2522f authored by Viresh Kumar's avatar Viresh Kumar Committed by Greg Kroah-Hartman
Browse files

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



This is what coding guidelines say. Lets do it.

Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent c16b63e8
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -357,6 +357,7 @@ static int raw_init(void)
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");