This just removes any explicit imports of items in files that are already
being pulled in by `use prelude::*;`.
There should be no functional changes in this patch.
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patch.msgid.link/20260122214316.3281257-2-lyude@redhat.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
self,
driver::AllocImpl, //
},
- error::{
- from_err_ptr,
- Result, //
- },
+ error::from_err_ptr,
prelude::*,
sync::aref::{
ARef,
device,
devres,
drm,
- error::{
- to_result,
- Result, //
- },
+ error::to_result,
prelude::*,
sync::aref::ARef, //
};
-use macros::vtable;
/// Driver use the GEM memory manager. This should be set for all modern drivers.
pub(crate) const FEAT_GEM: u32 = bindings::drm_driver_feature_DRIVER_GEM;
use crate::{
bindings,
drm,
- error::Result,
prelude::*,
types::Opaque, //
};
-use core::{
- marker::PhantomData,
- pin::Pin, //
-};
+use core::marker::PhantomData;
/// Trait that must be implemented by DRM drivers to represent a DRM File (a client instance).
pub trait DriverFile {
//! C header: [`include/drm/drm_gem.h`](srctree/include/drm/drm_gem.h)
use crate::{
- alloc::flags::*,
bindings,
drm::{
self,
AllocOps, //
},
},
- error::{
- to_result,
- Result, //
- },
+ error::to_result,
prelude::*,
sync::aref::{
ARef,