drivers: wifi: eswifi: Drop WIFI_ESWIFI_NAME config
The WIFI_ESWIFI_NAME config would be uselful when there is no device tree alternative. The esWIFI driver already is on device tree and the label property exists. This remove WIFI_ESWIFI_NAME Kconfig variable and switch to device tree equivalent. Signed-off-by: Gerson Fernando Budke <gerson.budke@atl-electronics.com>
This commit is contained in:
parent
6bb879e72a
commit
f479f60f84
2 changed files with 1 additions and 5 deletions
|
@ -13,10 +13,6 @@ menuconfig WIFI_ESWIFI
|
|||
|
||||
if WIFI_ESWIFI
|
||||
|
||||
config WIFI_ESWIFI_NAME
|
||||
string "Driver name"
|
||||
default "ESWIFI"
|
||||
|
||||
config WIFI_ESWIFI_THREAD_PRIO
|
||||
int "esWiFi threads priority"
|
||||
default 2
|
||||
|
|
|
@ -684,6 +684,6 @@ static const struct net_wifi_mgmt_offload eswifi_offload_api = {
|
|||
.ap_disable = eswifi_mgmt_ap_disable,
|
||||
};
|
||||
|
||||
NET_DEVICE_OFFLOAD_INIT(eswifi_mgmt, CONFIG_WIFI_ESWIFI_NAME,
|
||||
NET_DEVICE_OFFLOAD_INIT(eswifi_mgmt, DT_INST_LABEL(0),
|
||||
eswifi_init, device_pm_control_nop, &eswifi0, NULL,
|
||||
CONFIG_WIFI_INIT_PRIORITY, &eswifi_offload_api, 1500);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue