staging: wilc1000: move clean up codes into wl_wlan_cleanup function
authorTony Cho <tony.cho@atmel.com>
Tue, 20 Oct 2015 05:26:52 +0000 (14:26 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 01:14:35 +0000 (18:14 -0700)
commit4875c499dc9b69f64c849677b55f0fc02a461a49
tree1bbcfa15028f94fa050b2df3feac90f377adc98c
parent817f3fb988642f050d6e4afce5db0a3e7a345720
staging: wilc1000: move clean up codes into wl_wlan_cleanup function

This patch moves clean up codes from exit_wilc_driver into the wl_wlan_cleanup
newly introduced in this patch. In addition, it is called by linux_sdio_remove
function.

Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c
drivers/staging/wilc1000/linux_wlan_sdio.c
drivers/staging/wilc1000/wilc_wfi_netdevice.h