From 6506b44e88da265688f786d379987e91b4826bf4 Mon Sep 17 00:00:00 2001 From: Danilo Krummrich Date: Mon, 5 Jan 2026 15:19:42 +0100 Subject: 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 Link: https://patch.msgid.link/20260105142123.95030-1-dakr@kernel.org Signed-off-by: Danilo Krummrich --- samples/rust/rust_driver_auxiliary.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'samples') diff --git a/samples/rust/rust_driver_auxiliary.rs b/samples/rust/rust_driver_auxiliary.rs index 1e4fb23cfcb0..f148124fe81f 100644 --- a/samples/rust/rust_driver_auxiliary.rs +++ b/samples/rust/rust_driver_auxiliary.rs @@ -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; -- cgit v1.2.3