linux/drivers/net/wireless/mediatek/mt7601u
Johan Hovold 2172c96a1e wifi: mt7601u: drop redundant device reference
Driver core holds a reference to the USB interface and its parent USB
device while the interface is bound to a driver and there is no need to
take additional references unless the structures are needed after
disconnect.

Drop the redundant device reference to reduce cargo culting, make it
easier to spot drivers where an extra reference is needed, and reduce
the risk of memory leaks when drivers fail to release it.

Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20260430083335.215239-6-johan@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2026-06-09 10:15:20 +00:00
..
core.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
debugfs.c wifi: mt7601u: delete dead code checking debugfs returns 2023-05-05 15:03:09 +03:00
dma.c wifi: mt7601u: fix an integer underflow 2023-01-16 18:23:26 +02:00
dma.h move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
eeprom.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
eeprom.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
init.c mt7601u: enable TDLS support 2021-04-11 12:30:20 +03:00
initvals_phy.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
initvals.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
Kconfig Fix nomenclature for USB and PCI wireless devices 2023-08-25 12:56:49 +03:00
mac.c mac80211: prepare sta handling for MLO support 2022-04-11 16:42:03 +02:00
mac.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
main.c wifi: cfg80211/mac80211: Add support to get radio index 2025-06-24 15:19:27 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mcu.c wifi: mt7601u: check multiple firmware paths 2026-03-23 09:21:25 +00:00
mcu.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mt7601u.h wifi: mac80211: change QoS settings API to take link into account 2022-07-15 11:43:15 +02:00
phy.c wifi: mac80211: move interface config to new struct 2022-06-20 12:55:03 +02:00
regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
trace.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
trace.h wifi: mt7601u: replace strlcpy() with strscpy() 2023-06-15 10:46:41 +03:00
tx.c wifi: mac80211: rename ieee80211_tx_status() to ieee80211_tx_status_skb() 2023-10-23 12:26:51 +02:00
usb.c wifi: mt7601u: drop redundant device reference 2026-06-09 10:15:20 +00:00
usb.h wifi: mt7601u: check multiple firmware paths 2026-03-23 09:21:25 +00:00
util.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00