]> git.baikalelectronics.ru Git - kernel.git/commit
staging/wilc1000: use device pointer for phy creation
authorArnd Bergmann <arnd@arndb.de>
Mon, 16 Nov 2015 14:05:03 +0000 (15:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Dec 2015 22:19:20 +0000 (14:19 -0800)
commit97adba570aa3f6c5bad955904352af2b60ff6168
tree612295d99a7df27aeb7a20d4a1a6d42feab37f21
parent4dbff185227907e1237b73889d592c9d5bbac842
staging/wilc1000: use device pointer for phy creation

wilc_create_wiphy tries to get a pointer to a device from the
global wilc_sdio_func variable. This is a layering violation
and we can use the wilc_dev->dev pointer instead.

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