From 391f7c41844f944cd3d009b4f592b6a0f3f80edc Mon Sep 17 00:00:00 2001
From: 4lDO2 <4lDO2@protonmail.com>
Date: Fri, 12 Mar 2021 23:45:16 +0100
Subject: [PATCH] WIP: Improve acpid logging.
---
acpid/src/acpi.rs | 16 ++++++++++------
acpid/src/aml/parser.rs | 4 ++--
acpid/src/main.rs | 5 +++--
3 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/acpid/src/acpi.rs b/acpid/src/acpi.rs
index 7e24025997..5b1c24c52b 100644
--- a/acpid/src/acpi.rs
+++ b/acpid/src/acpi.rs
@@ -1,4 +1,4 @@
-use std::collections::{BTreeMap, HashMap};
+use std::collections::BTreeMap;
use std::convert::{TryFrom, TryInto};
use std::ops::Deref;
use std::sync::{Arc, atomic::{self, AtomicUsize}};
@@ -217,7 +217,7 @@ pub struct AcpiContext {
// TODO: Remove Option. This is not kernel code, and not static, but we still need to replace
// every match where namespace{,_mut}() are used.
- namespace: RwLock