summaryrefslogtreecommitdiff
path: root/scripts/livepatch
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-03-05 14:10:18 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-07 05:57:42 +0300
commit6c7f710325228a54a364ae433acd8779c2fc2bcf (patch)
tree7b86ae4817260283c8903f761b86baece1c5c3ce /scripts/livepatch
parente3f8800aa24369d0766b1005b2b2834b6e262083 (diff)
downloadlinux-6c7f710325228a54a364ae433acd8779c2fc2bcf.tar.xz
nfc: pn533: 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/20260305111019.18030-2-johan@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/livepatch')
0 files changed, 0 insertions, 0 deletions