summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-03-05 14:03:58 +0100
committerLee Jones <lee@kernel.org>2026-03-25 12:44:54 +0000
commitc2b06b133c667f46cc7fe81c7df2b6650c74f9c0 (patch)
treea35b49a2d2419e61a3282730f7957e28468ea0dc /tools/lib/python
parentf385ec3259b387e55c8c0c7933813a5ce14374d5 (diff)
mfd: dln2: 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/20260305130358.24681-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