From ebe8edd423d762bf27226b6b3504e0faada85519 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Thu, 29 Aug 2019 14:48:10 +0100 Subject: [PATCH] devices: i8042: Use error! macro Now that we have the logging infrastructure in place there is no need to use println! Signed-off-by: Rob Bradford --- devices/src/legacy/i8042.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devices/src/legacy/i8042.rs b/devices/src/legacy/i8042.rs index 86ec4a3a4..6333087db 100644 --- a/devices/src/legacy/i8042.rs +++ b/devices/src/legacy/i8042.rs @@ -35,7 +35,7 @@ impl BusDevice for I8042Device { fn write(&mut self, _base: u64, offset: u64, data: &[u8]) { if data.len() == 1 && data[0] == 0xfe && offset == 3 { if let Err(e) = self.reset_evt.write(1) { - println!("Error triggering i8042 reset event: {}", e); + error!("Error triggering i8042 reset event: {}", e); } } }