gpib: drop redundant device reference
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | gpib: agilent_82357a: drop redundant device referencedrivers/ | +1 | 0 replies | |
| 2/2 | gpib: ni_usb: drop redundant device referencedrivers/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] gpib: 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.
Johan
Johan Hovold (2):
gpib: agilent_82357a: drop redundant device reference
gpib: ni_usb: drop redundant device reference
drivers/gpib/agilent_82357a/agilent_82357a.c | 5 +---- drivers/gpib/ni_usb/ni_usb_gpib.c | 4 ---- 2 files changed, 1 insertion(+), 8 deletions(-)
Signature · 1 line
2.52.0