ASoC: wcd-mbhc-v2: remove unnecessary module_init/exit functions

The wcd-mbhc-v2 driver has unnecessary empty module_init and
module_exit functions. Remove them. Note that if a module_init function
exists, a module_exit function must also exist; otherwise, the module
cannot be unloaded.

Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://patch.msgid.link/20260131020111.46108-1-enelsonmoore@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Ethan Nelson-Moore 2026-01-30 18:01:10 -08:00 committed by Mark Brown
parent 742048f2e1
commit 090c8844e5
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0

View file

@ -1631,17 +1631,5 @@ void wcd_mbhc_deinit(struct wcd_mbhc *mbhc)
}
EXPORT_SYMBOL(wcd_mbhc_deinit);
static int __init mbhc_init(void)
{
return 0;
}
static void __exit mbhc_exit(void)
{
}
module_init(mbhc_init);
module_exit(mbhc_exit);
MODULE_DESCRIPTION("wcd MBHC v2 module");
MODULE_LICENSE("GPL");