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>
Tento commit je obsažen v:
Asish Bhattacharya
2017-12-04 17:23:15 +05:30
odevzdal Laxminath Kasam
rodič 50a527cf07
revize 5faacb3a7e
72 změnil soubory, kde provedl 332 přidání a 327 odebrání

Zobrazit soubor

@@ -917,7 +917,7 @@ int __init msm_audio_ion_init(void)
return platform_driver_register(&msm_audio_ion_driver);
}
void __exit msm_audio_ion_exit(void)
void msm_audio_ion_exit(void)
{
platform_driver_unregister(&msm_audio_ion_driver);
}