]> git.baikalelectronics.ru Git - kernel.git/commit
staging/wilc1000: use more regular probing
authorArnd Bergmann <arnd@arndb.de>
Mon, 16 Nov 2015 14:05:09 +0000 (15:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Dec 2015 22:19:20 +0000 (14:19 -0800)
commit4478596ec7ba31ece83eaddf42453b70dc2bfce1
treeef16e3c574a0d5a052a32e4be12d99f02024fdd2
parent80845e8d8ec61f9183d775c46ba4b39406f5e524
staging/wilc1000: use more regular probing

So far, my patches tried to do equivalent conversions of the
existing code.  This one goes beyond that by restructuring
how the devices get probed. In particular, the spi driver
no longer creates the netdev until the device is probed,
and I've removed the global wilc_sdio_func and wilc_spi_dev
variables in favor of retrieving them from the wilc_dev
variable that will eventually get passed through all functions
instead of using a global.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c
drivers/staging/wilc1000/linux_wlan_common.h
drivers/staging/wilc1000/linux_wlan_sdio.c
drivers/staging/wilc1000/linux_wlan_spi.c
drivers/staging/wilc1000/wilc_debugfs.c