]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust: debugfs: use "kernel vertical" style for imports
authorDanilo Krummrich <dakr@kernel.org>
Thu, 18 Dec 2025 16:56:11 +0000 (17:56 +0100)
committerDanilo Krummrich <dakr@kernel.org>
Mon, 22 Dec 2025 16:04:07 +0000 (17:04 +0100)
commit9202cef05d6b61a03475b744c7f0622cd8be8e90
tree850479b0584be79302524094098f1ce7ad62a8a4
parent1b89d4a6bb4cd7cfd7eb2e3621f04fda956e4ef3
rust: debugfs: use "kernel vertical" style for imports

Convert all imports in the debugfs Rust module 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
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patch.msgid.link/20251218165626.450264-1-dakr@kernel.org
[ Apply the same change to the debugfs sample code. - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
rust/kernel/debugfs.rs
rust/kernel/debugfs/callback_adapters.rs
rust/kernel/debugfs/entry.rs
rust/kernel/debugfs/file_ops.rs
rust/kernel/debugfs/traits.rs
samples/rust/rust_debugfs.rs
samples/rust/rust_debugfs_scoped.rs