]> 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)
commit0fc0ce506a9bb05e4e3635cf4c76ad569cd2d57d
tree64980bf3a2da53e42d1af6b9bcfb8f4ba698d24e
parentfa5fa38054dc4c5f8b827caa8cb310e4374f2c2c
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