mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-01 17:35:19 +00:00
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 <robert.bradford@intel.com>
This commit is contained in:
parent
011496bda0
commit
ebe8edd423
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user