Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Ethan Nelson-Moore and committed by
Mark Brown
090c8844 742048f2

-12
-12
sound/soc/codecs/wcd-mbhc-v2.c
··· 1631 1631 } 1632 1632 EXPORT_SYMBOL(wcd_mbhc_deinit); 1633 1633 1634 - static int __init mbhc_init(void) 1635 - { 1636 - return 0; 1637 - } 1638 - 1639 - static void __exit mbhc_exit(void) 1640 - { 1641 - } 1642 - 1643 - module_init(mbhc_init); 1644 - module_exit(mbhc_exit); 1645 - 1646 1634 MODULE_DESCRIPTION("wcd MBHC v2 module"); 1647 1635 MODULE_LICENSE("GPL");