summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2025-09-25 20:59:27 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-09-26 08:09:08 +0200
commit22d693e45d4a4513bd99489a4e50b81cc0175b21 (patch)
tree831746c65cf7b900bbf7e550aef9b8c14845af2f /tools/testing/selftests/net/lib/py/utils.py
parentf12140f21acba1499e55cc0220d7c1fe518de369 (diff)
rust: usb: keep usb::Device private for now
The USB abstractions target to support USB interface drivers. While internally the abstraction has to deal with the interface's parent USB device, there shouldn't be a need for users to deal with the parent USB device directly. Functions, such as for preparing and sending USB URBs, can be implemented for the usb::Interface structure directly. Whether this internal implementation has to deal with the parent USB device can remain transparent to USB interface drivers. Hence, keep the usb::Device structure private for now, in order to avoid confusion for users and to make it less likely to accidentally expose APIs with unnecessary indirections. Should we start supporting USB device drivers, or need it for any other reason we do not foresee yet, it should be trivial to make it public again. Signed-off-by: Danilo Krummrich <dakr@kernel.org> Link: https://lore.kernel.org/r/20250925190400.144699-2-dakr@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions