]> asedeno.scripts.mit.edu Git - linux.git/commit
mwifiex: use module_*_driver helper macros
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 1 Dec 2016 13:08:20 +0000 (18:38 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 12 Jan 2017 14:47:31 +0000 (16:47 +0200)
commitc0e6aa42682311611a7bfa40f7c8a91452eb030f
treef9826b636b1f4906f0986a55828f16df33e71058
parent045f0c1b5e26818e28a401e623a581dfbd6b371e
mwifiex: use module_*_driver helper macros

After user_rmmod global flag removal, *_init_module() and
*_cleanup_module() have become just a wrapper functions.
We will get rid of them with the help of module_*_driver() macros.

For pcie, existing ".init_if" handler has same name as what
module_pcie_driver() macro will create. Let's rename it to
avoid conflict.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/pcie.c
drivers/net/wireless/marvell/mwifiex/sdio.c
drivers/net/wireless/marvell/mwifiex/usb.c