]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: refactor code to avoid static variables for config parameters
authorAjay Singh <ajay.kathat@microchip.com>
Tue, 25 Sep 2018 06:23:32 +0000 (11:53 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Sep 2018 18:53:57 +0000 (20:53 +0200)
commit59f743004cf6185d47ef97ce29622c1468fe3484
tree64980bf3a2da53e42d1af6b9bcfb8f4ba698d24e
parente55c5983e76fc0dae3fa80cdb4574624d1bd5c1a
staging: wilc1000: refactor code to avoid static variables for config parameters

Refactor the code in wilc_wlan_cfg.c file to avoid the use of static
variables. Move the static variables as part of wilc struct and also
dynamically allocating memory for keeping those variables.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c
drivers/staging/wilc1000/wilc_wfi_netdevice.h
drivers/staging/wilc1000/wilc_wlan.c
drivers/staging/wilc1000/wilc_wlan.h
drivers/staging/wilc1000/wilc_wlan_cfg.c
drivers/staging/wilc1000/wilc_wlan_cfg.h