staging: wilc1000: remove function pointer cfg_init
authorGlen Lee <glen.lee@atmel.com>
Fri, 2 Oct 2015 05:22:11 +0000 (14:22 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Oct 2015 10:02:15 +0000 (12:02 +0200)
commit814bc36807e26ffbee40dd81de3ae398b608c266
treebfe686931f8a81c0b37e9175457d052bfe3a2aac
parent30f535a673d043d21be5d40cced45387bd51b3b9
staging: wilc1000: remove function pointer cfg_init

This patch removes function pointer cfg_init and call the function
wilc_wlan_cfg_init instead. Remove static from function declaration.
After removing cfg_init, the struct wilc_cfg_func_t is useless so just delete
it and it's related codes.

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