From 2a164b65642a5e5e6b16677604a55e55e3aadcf3 Mon Sep 17 00:00:00 2001 From: Werner Sembach Date: Mon, 17 Apr 2023 16:17:15 +0200 Subject: [PATCH] Better return value --- src/tuxedo_keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tuxedo_keyboard.c b/src/tuxedo_keyboard.c index acb14ea..d87d670 100644 --- a/src/tuxedo_keyboard.c +++ b/src/tuxedo_keyboard.c @@ -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;