rust: device: use `kernel::{fmt,prelude::fmt!}`

Reduce coupling to implementation details of the formatting machinery by avoiding direct use for `core`'s formatting traits and macros. Signed-off-by: Tamir Duberstein <tamird@gmail.com> Reviewed-by: Benno Lossin <lossin@kernel.org> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>


Author Tamir Duberstein Committer Miguel Ojeda Date Commit Parent 0fe1ca3c
+12 -11
1 changed file
+12 -11
1 changed file