summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-04-03 10:44:51 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-04-03 10:55:12 +0200
commit94e731cbe84533a37701b4089b685d39e584fbea (patch)
treec2b4afb3b9a9418c0e0e93477e36d26bc889c74d /kernel
parenta1ed2cbb79e67dc0e4b821b78b17fb4e82482ffa (diff)
w1: ds2490: 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/20260305111613.18546-1-johan@kernel.org Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://patch.msgid.link/20260403084450.6314-2-krzk@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions