]> git.baikalelectronics.ru Git - kernel.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)
commite6f37d1f4ea4a5435d35a2d6d94bde7fc8c8e685
treef9826b636b1f4906f0986a55828f16df33e71058
parent85450f0bbedbe6613a6e96bc3a28e80bda17dca1
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