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)
commitaf9ae09ae0704e2bea199e0d47f0734e06f232fa
tree45cba3a0e6d542e7120c571cc8fe4a9171835057
parent9e6627ac727c0d8646085908d9d6c33c08390111
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