staging: wilc1000: wilc_wlan_cfg_get: pass struct wilc
authorGlen Lee <glen.lee@atmel.com>
Wed, 18 Nov 2015 06:11:35 +0000 (15:11 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Dec 2015 22:30:50 +0000 (14:30 -0800)
commitd40c99c74c91441b935a900b5c92df7f81e0b8b1
tree3ef27bd454a3e6bb8cbdb62cfc7813c1b746a58e
parent89758e13b89608e168a192a6df51a70d32ebd737
staging: wilc1000: wilc_wlan_cfg_get: pass struct wilc

This patch passes the struct wilc to the function and use it instead of
global variable wilc_dev.

Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/coreconfigurator.c
drivers/staging/wilc1000/linux_wlan.c
drivers/staging/wilc1000/wilc_wlan.c
drivers/staging/wilc1000/wilc_wlan.h