Better return value

This commit is contained in:
Werner Sembach 2023-04-17 16:17:15 +02:00
parent ad6f2808f6
commit 2a164b6564

View file

@ -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;