Commit 8fd3574b authored by Jordan Crouse's avatar Jordan Crouse Committed by Georgi Djakov

interconnect: Remove unused module exit code from core

The interconnect core is currently always built in:

 menuconfig INTERCONNECT
	bool "On-Chip Interconnect management support"

So remove the module_exit function and symbolically rename module_init
to device_initcall to drive home the point.
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
Reviewed-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/1572546532-19248-3-git-send-email-jcrouse@codeaurora.orgSigned-off-by: default avatarGeorgi Djakov <georgi.djakov@linaro.org>
parent fcb57bfc
...@@ -944,12 +944,7 @@ static int __init icc_init(void) ...@@ -944,12 +944,7 @@ static int __init icc_init(void)
return 0; return 0;
} }
static void __exit icc_exit(void) device_initcall(icc_init);
{
debugfs_remove_recursive(icc_debugfs_dir);
}
module_init(icc_init);
module_exit(icc_exit);
MODULE_AUTHOR("Georgi Djakov <georgi.djakov@linaro.org>"); MODULE_AUTHOR("Georgi Djakov <georgi.djakov@linaro.org>");
MODULE_DESCRIPTION("Interconnect Driver Core"); MODULE_DESCRIPTION("Interconnect Driver Core");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment