]> git.ipfire.org Git - thirdparty/linux.git/commit
rust: usb: use "kernel vertical" style for imports
authorDanilo Krummrich <dakr@kernel.org>
Mon, 5 Jan 2026 14:19:45 +0000 (15:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Jan 2026 15:12:48 +0000 (16:12 +0100)
commit13f2bd893ae3638c96e7c54a6e477dbceec6e529
treec9030bab74ac5e32502f1bf2caa2c01f981484e0
parentd0f6fc3f7abab441377d5a7f46f11cb981a1679f
rust: usb: use "kernel vertical" style for imports

Convert all imports to use "kernel vertical" style.

With this, subsequent patches neither introduce unrelated changes nor
leave an inconsistent import pattern.

While at it, drop unnecessary imports covered by prelude::*.

Link: https://docs.kernel.org/rust/coding-guidelines.html#imports
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com>
Link: https://patch.msgid.link/20260105142123.95030-4-dakr@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
rust/kernel/usb.rs
samples/rust/rust_driver_usb.rs