[PATCH 0/2] nfc: drop redundant USB device references

From: Johan Hovold

Date: Thu Mar 05 2026 - 06:16:50 EST


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 redundant device references 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 them.

Johan


Johan Hovold (2):
nfc: pn533: drop redundant device reference
nfc: port100: drop redundant device reference

drivers/nfc/pn533/usb.c | 4 +---
drivers/nfc/port100.c | 4 +---
2 files changed, 2 insertions(+), 6 deletions(-)

--
2.52.0