diff options
| author | Gary Guo <gary@garyguo.net> | 2026-06-10 15:13:58 +0100 |
|---|---|---|
| committer | Alice Ryhl <aliceryhl@google.com> | 2026-06-25 15:56:29 +0000 |
| commit | 52aab89ad32dfa50ea6874cb5013e6f75894320f (patch) | |
| tree | bc1a36ec596cd4a2520e4a2dd2f7e3e55fd90f33 | |
| parent | 9102e655ea7285c1bc329669865ba8a38cdb69e6 (diff) | |
| download | linux-52aab89ad32dfa50ea6874cb5013e6f75894320f.tar.gz linux-52aab89ad32dfa50ea6874cb5013e6f75894320f.zip | |
drm/tyr: remove imports available from prelude
No functional changes intended.
Signed-off-by: Gary Guo <gary@garyguo.net>
Acked-by: Deborah Brouwer <deborah.brouwer@collabora.com>
Link: https://patch.msgid.link/20260610141359.1033755-1-gary@kernel.org
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
| -rw-r--r-- | drivers/gpu/drm/tyr/regs.rs | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/drivers/gpu/drm/tyr/regs.rs b/drivers/gpu/drm/tyr/regs.rs index 562023e5df2f..831357a8ef87 100644 --- a/drivers/gpu/drm/tyr/regs.rs +++ b/drivers/gpu/drm/tyr/regs.rs @@ -48,17 +48,12 @@ pub(crate) fn read_u64_no_tearing(lo_read: impl Fn() -> u32, hi_read: impl Fn() /// These registers correspond to the GPU_CONTROL register page. /// They are involved in GPU configuration and control. pub(crate) mod gpu_control { - use core::convert::TryFrom; use kernel::{ - error::{ - code::EINVAL, - Error, // - }, num::Bounded, + prelude::*, register, uapi, // }; - use pin_init::Zeroable; register! { /// GPU identification register. @@ -964,14 +959,9 @@ pub(crate) mod mmu_control { /// /// This array contains 16 instances of the MMU_AS_CONTROL register page. pub(crate) mod mmu_as_control { - use core::convert::TryFrom; - use kernel::{ - error::{ - code::EINVAL, - Error, // - }, num::Bounded, + prelude::*, register, // }; |
