nfc: drop redundant USB device references
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | nfc: pn533: drop redundant device referencedrivers/ | +1 | 0 replies | Applied |
| 2/2 | nfc: port100: drop redundant device referencedrivers/ | +1 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] nfc: drop redundant USB device references
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(-)
Signature · 1 line
2.52.0