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
کامیت شده توسط Laxminath Kasam
والد 50a527cf07
کامیت 5faacb3a7e
72فایلهای تغییر یافته به همراه332 افزوده شده و 327 حذف شده

مشاهده پرونده

@@ -181,7 +181,7 @@ int __init audio_evrc_init(void)
return ret;
}
void __exit audio_evrc_exit(void)
void audio_evrc_exit(void)
{
mutex_destroy(&audio_evrc_ws_mgr.ws_lock);
misc_deregister(&audio_evrc_misc);