fix incompatible pointer error

This commit is contained in:
Matt Gray 2023-01-19 00:01:19 +00:00
parent cd907695b5
commit 407ac12411

View file

@ -128,12 +128,11 @@ static int clevo_acpi_add(struct acpi_device *device)
return 0;
}
static int clevo_acpi_remove(struct acpi_device *device)
static void clevo_acpi_remove(struct acpi_device *device)
{
pr_debug("clevo_acpi driver remove\n");
clevo_keyboard_remove_interface(&clevo_acpi_interface);
active_driver_data = NULL;
return 0;
}
void clevo_acpi_notify(struct acpi_device *device, u32 event)