mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:24:47 +01:00
rust: auxiliary: 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 Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://patch.msgid.link/20260105142123.95030-1-dakr@kernel.org Signed-off-by: Danilo Krummrich <dakr@kernel.org>
This commit is contained in:
parent
31bc0aade4
commit
6506b44e88
2 changed files with 21 additions and 8 deletions
|
|
@ -6,13 +6,15 @@
|
|||
|
||||
use kernel::{
|
||||
auxiliary,
|
||||
device::{Bound, Core},
|
||||
device::{
|
||||
Bound,
|
||||
Core, //
|
||||
},
|
||||
devres::Devres,
|
||||
driver,
|
||||
error::Error,
|
||||
pci,
|
||||
prelude::*,
|
||||
InPlaceModule,
|
||||
InPlaceModule, //
|
||||
};
|
||||
|
||||
use core::any::TypeId;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue