]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: wilc_wlan.c: remove hif_func of wilc_wlan_dev_t
authorGlen Lee <glen.lee@atmel.com>
Mon, 21 Dec 2015 05:18:09 +0000 (14:18 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 21:20:04 +0000 (13:20 -0800)
commit41d5f13fd16b4926c4f014e3f96deb7f2bd223a7
tree45cba3a0e6d542e7120c571cc8fe4a9171835057
parent99b1d6643419c9d41de646291e939e298c1da1c5
staging: wilc1000: wilc_wlan.c: remove hif_func of wilc_wlan_dev_t

hif_func of wilc_wlan_dev_t is duplicate because we have same struct
wilc_hif_func ops of struct wilc which is available in wilc_wlan.c.
Rename ops of struct wilc with hif_func and remove hif_func of wilc_wlan_dev_t,
and use wilc->hif_func instead of g_wlan.hif_func in all functions.

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