mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Better return value
This commit is contained in:
parent
ad6f2808f6
commit
2a164b6564
|
@ -305,7 +305,7 @@ static int __init tuxedo_keyboard_init(void)
|
|||
if (!(dmi_check_system(tuxedo_dmi_string_match)
|
||||
|| (x86_match_cpu(skip_tuxedo_dmi_string_check_match)
|
||||
&& !x86_match_cpu(force_tuxedo_dmi_string_check_match)) {
|
||||
return -EINVAL;
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue