summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-03-05 13:27:44 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-03-16 13:48:54 +0300
commitd35da40ec364ff9e763e7fd3198ca14cf39d39bf (patch)
treec9fa71e8998990a223333badd47ca281637577b1 /include/linux/platform_data
parent04576813544d141b50e7e80e2f447b88235c61d7 (diff)
downloadlinux-d35da40ec364ff9e763e7fd3198ca14cf39d39bf.tar.xz
gpib: agilent_82357a: 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/20260305102745.12032-2-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions