summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-03-05 11:40:51 +0100
committerLee Jones <lee@kernel.org>2026-03-25 12:45:18 +0000
commit1a408a67788867222e9a18910d582e534523c7d3 (patch)
tree7dbaeab656c05c2527fe211a8465fb81f2ae427d /tools/lib/python
parenta2753f06e3e448023280189ca3ebd1b46d427263 (diff)
mfd: viperboard: 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/20260305104051.15727-1-johan@kernel.org Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions