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)
commitc94f05ee6bb5b5fabe730f0a2656643bc43862ed
treeef16e3c574a0d5a052a32e4be12d99f02024fdd2
parent750ffe9bdc9605193178c9b20147f83c6f52d3ef
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