summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-03-05 14:00:25 +0100
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-03-16 16:30:20 +0100
commit68380ec2161ee61ce4f23001dfb536bbaa8f4979 (patch)
tree0e3b6bf60027795640cee0726e67cec23593941c /tools/lib/python
parentdbc6798b80481a20f9aff671bc4d529eae63c9e8 (diff)
media: cx231xx: 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> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions