ASoC: allow drivers to compile both static and dynamic

Based on where the code is synced the driver should allow
both static and dynamic linked compilation.
Also remove __exit for modules loaded from another common
init/exit functions.

Change-Id: Ib58f152002aba3af4446f9bbd9b82c279212bd0a
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
This commit is contained in:
Asish Bhattacharya
2017-12-04 17:23:15 +05:30
committed by Laxminath Kasam
parent 50a527cf07
commit 5faacb3a7e
72 changed files with 332 additions and 327 deletions

View File

@@ -397,7 +397,7 @@ int __init amrwb_in_init(void)
return misc_register(&audio_amrwb_in_misc);
}
void __exit amrwb_in_exit(void)
void amrwb_in_exit(void)
{
misc_deregister(&audio_amrwb_in_misc);
}