summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/wireless-hotkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/platform/x86/wireless-hotkey.c')
-rw-r--r--drivers/platform/x86/wireless-hotkey.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/platform/x86/wireless-hotkey.c b/drivers/platform/x86/wireless-hotkey.c
index eb48ca060bad..4422863f47bb 100644
--- a/drivers/platform/x86/wireless-hotkey.c
+++ b/drivers/platform/x86/wireless-hotkey.c
@@ -103,10 +103,9 @@ static int wl_add(struct acpi_device *device)
return err;
}
-static int wl_remove(struct acpi_device *device)
+static void wl_remove(struct acpi_device *device)
{
wireless_input_destroy(device);
- return 0;
}
static struct acpi_driver wl_driver = {