mwifiex: get rid of global save_adapter and sdio_work
authorXinming Hu <huxm@marvell.com>
Wed, 14 Dec 2016 14:10:51 +0000 (19:40 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 12 Jan 2017 14:49:18 +0000 (16:49 +0200)
commitcc75c577806a53893122829d91cb122b51643a2d
tree4b6ba1c0403b5d47ba55940adefe44809bbe0438
parenta7513a4fa9193714b1b02aaa8836af743ccd938d
mwifiex: get rid of global save_adapter and sdio_work

This patch moves sdio_work to card structure, in this way we can get
adapter structure in the work, so save_adapter won't be needed.

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