staging/wilc1000: unify device pointer
authorArnd Bergmann <arnd@arndb.de>
Mon, 16 Nov 2015 14:05:01 +0000 (15:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Dec 2015 22:19:20 +0000 (14:19 -0800)
commitb03314e22571783488828f7f38fa708cbd3a1888
tree6e62606ebca9d5a176799fd47b15517dbc5dc140
parent857c7b00d2400b2f8a825b4710e9c3d2ebef4aa1
staging/wilc1000: unify device pointer

struct wilc has two pointers to store the device, one for sdio_func
and one for spi_device. By changing the pointer to a 'struct device',
we can simplify the logic and avoid a few #ifdefs.

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_sdio.c
drivers/staging/wilc1000/linux_wlan_spi.c
drivers/staging/wilc1000/wilc_wfi_netdevice.h