Audio: DLKM support for all audio modules

Switch to DLKM for all audio kernel modules.

Change-Id: I6a96023a21f655f873531af9ace81f2b01eb0f58
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
diff --git a/dsp/rtac.c b/dsp/rtac.c
index 84ef835..806bbc5 100644
--- a/dsp/rtac.c
+++ b/dsp/rtac.c
@@ -1875,7 +1875,7 @@
 	.fops	= &rtac_fops,
 };
 
-static int __init rtac_init(void)
+int __init rtac_init(void)
 {
 	int i = 0;
 
@@ -1949,7 +1949,13 @@
 	return -ENOMEM;
 }
 
-module_init(rtac_init);
+void __exit rtac_exit(void)
+{
+	kzfree(rtac_adm_buffer);
+	kzfree(rtac_asm_buffer);
+	kzfree(rtac_afe_buffer);
+	misc_deregister(&rtac_misc);
+}
 
 MODULE_DESCRIPTION("SoC QDSP6v2 Real-Time Audio Calibration driver");
 MODULE_LICENSE("GPL v2");