summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-03-05 11:39:16 +0100
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-03-17 14:43:57 +0100
commit88796a18f20f0a9d9ffccecb3be3d37dfa3391d6 (patch)
tree5522837153d507c1afb7e027683609c30dbc3cd8 /tools/lib/python/kdoc
parent50acaad3d202c064779db8dc3d010007347f59c7 (diff)
media: imon: drop redundant 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 the redundant device references to reduce cargo culting, make it easier to spot drivers where extra references are needed, and reduce the risk of memory leaks when drivers fail to release them. Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions