Use hashset in aura power config

This commit is contained in:
Luke D. Jones
2022-07-15 09:30:10 +12:00
parent 95598f2a76
commit f39fd6dfbb
5 changed files with 16 additions and 20 deletions

View File

@@ -603,9 +603,7 @@ fn handle_fan_curve(
) -> Result<(), Box<dyn std::error::Error>> {
if !supported.fan_curves {
println!("Fan-curves not supported by either this kernel or by the laptop.");
println!(
"This requires kernel 5.17 or the fan curve patch listed in the readme."
);
println!("This requires kernel 5.17 or the fan curve patch listed in the readme.");
return Err(ProfileError::NotSupported.into());
}