mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-01-22 17:33:19 +01:00
Refactor: Make all Aura type devices use "device_manager"
Open the door to adding many other types of "aura" devices later.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use log::{info, warn};
|
||||
use log::warn;
|
||||
|
||||
#[derive(Debug, Default, PartialEq, Eq, PartialOrd, Clone)]
|
||||
pub struct DMIID {
|
||||
@@ -33,8 +33,6 @@ impl DMIID {
|
||||
})?;
|
||||
|
||||
if let Some(device) = (result).next() {
|
||||
info!("Found dmi ID info at {:?}", device.sysname());
|
||||
|
||||
return Ok(Self {
|
||||
id_model: device
|
||||
.property_value("ID_MODEL")
|
||||
|
||||
Reference in New Issue
Block a user