diff --git a/src/clevo_acpi.c b/src/clevo_acpi.c index 6e487e5..231a0c1 100644 --- a/src/clevo_acpi.c +++ b/src/clevo_acpi.c @@ -120,12 +120,12 @@ static int clevo_acpi_add(struct acpi_device *device) pr_debug("clevo_acpi driver add\n"); - // Initiate clevo keyboard, if not already loaded by other interface driver - clevo_keyboard_init(); - // Add this interface clevo_keyboard_add_interface(&clevo_acpi_interface); + // Initiate clevo keyboard, if not already loaded by other interface driver + clevo_keyboard_init(); + pr_info("interface initialized\n"); return 0; diff --git a/src/clevo_wmi.c b/src/clevo_wmi.c index cccfa7c..170f40d 100644 --- a/src/clevo_wmi.c +++ b/src/clevo_wmi.c @@ -107,12 +107,12 @@ static int clevo_wmi_probe(struct wmi_device *wdev, const void *dummy_context) return -ENODEV; } - // Initiate clevo keyboard, if not already loaded by other interface driver - clevo_keyboard_init(); - // Add this interface clevo_keyboard_add_interface(&clevo_wmi_interface); + // Initiate clevo keyboard, if not already loaded by other interface driver + clevo_keyboard_init(); + pr_info("interface initialized\n"); return 0;