wilc1000: Rename workqueue from "WILC_wq" to "NETDEV-wq"
authorDavid Mosberger-Tang <davidm@egauge.net>
Thu, 9 Dec 2021 04:44:30 +0000 (04:44 +0000)
committerKalle Valo <kvalo@kernel.org>
Tue, 14 Dec 2021 18:46:35 +0000 (20:46 +0200)
commit09ed8bfc5215ad5aac91c50008277b5586b9ef24
tree2da18fb17e26f2a2db7a81c5d56e83f1f06f8634
parent3cc23932ba2a9aaa8c62d1a9ecb1fe7c296f9f32
wilc1000: Rename workqueue from "WILC_wq" to "NETDEV-wq"

This follows normal Linux convention and is more useful since the new
name will make it apparent which network device the work-queue is for
(e.g., the name will be "wlan0-wq" for network device "wlan0").

hif_workqueue allocation has to move from
cfg80211.c:wilc_cfg80211_init() to netdev.c:wilc_netdev_ifc_init()
because the network device name is not known until after the netdev is
registered.  The move also makes sense because netdev.c is already
responsible for destroying the work queue when it is no longer needed.

Signed-off-by: David Mosberger-Tang <davidm@egauge.net>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20211209044411.3482259-5-davidm@egauge.net
drivers/net/wireless/microchip/wilc1000/cfg80211.c
drivers/net/wireless/microchip/wilc1000/netdev.c